// notes/

US

Coding tips and build notes by Mahir Faysal, a student web developer in Bangladesh: tested Python, HTML, CSS, JavaScript and PHP tutorials, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

How to Calculate Sales Tax Backwards From a Total (With 2026 Rates)
Learning notes

How to Calculate Sales Tax Backwards From a Total (With 2026 Rates)

To calculate sales tax backwards, divide the total you paid by 1 plus the tax rate as a decimal. That gives you the pre-tax price, and the difference between the two is the tax. For a $107 receipt at 7%, $107 ÷ 1.07 = $100, so the tax was $7.

October 18, 2026 · 10 min read · 1 view

// filter

You are inside a slice of the notes.

This view is only the category, tag, or search you asked for. Sample warnings still apply on any article that carries them. Drafts are still hidden. The full list is the learning notes page, which also explains how a note is written and why some posts are marked Sample.