Sales Tax and Capital Gains Tax Explained: Calculators and Key Concepts
Tax calculations are among the most consequential math most people do — and among the most error-prone, because rates vary by location, asset type, and income level. This guide explains the key concepts behind sales tax and capital gains tax, shows the formulas, and points you to the right calculator for your situation.
What Is Sales Tax?
Sales tax is a consumption tax added to the purchase price of goods and services. In the United States, it is set at the state and sometimes county/city level — there is no federal sales tax. The formula is straightforward:
Total price = Pre-tax price × (1 + tax rate)
The Sales Tax Calculator handles both directions: given a pre-tax price and rate it calculates the total, and given a total it can back-calculate the pre-tax amount.
State-Specific Sales Tax
Rates differ significantly by state. California has a base rate of 7.25% — the highest in the US — with local additions that can push the combined rate to 10.75% in some jurisdictions. The California Sales Tax Calculator uses the combined rate for a given location. Florida has a 6% base rate; the Florida Sales Tax Calculator similarly handles local surtaxes.
Sales Tax Outside the US
Canada uses a Goods and Services Tax (GST) at the federal level (5%), with Quebec also applying a provincial QST on top. The GST Calculator handles the federal portion, while the GST & QST Calculator computes the combined Quebec tax on a purchase.
Australia has a flat 10% GST on most goods and services, applied at the national level — simpler than the US patchwork. The Australia Income Tax Calculator addresses the income side of Australian taxation.
What Is Capital Gains Tax?
Capital gains tax applies to profit from selling an asset — stocks, real estate, cryptocurrency, or other investments. The key formula:
Capital gain = Sale price − Cost basis (purchase price + fees)
Whether you pay short-term or long-term rates depends on how long you held the asset. In the US, assets held over 12 months qualify for lower long-term rates (0%, 15%, or 20% depending on income). Assets held 12 months or less are taxed at ordinary income rates.
A Worked Example: Crypto Capital Gains
| Variable | Value |
|---|---|
| Purchase price (cost basis) | $8,000 |
| Sale price | $22,000 |
| Capital gain | $22,000 − $8,000 = $14,000 |
| Holding period | 14 months (long-term) |
| Applicable rate (single filer, $60k income) | 15% |
| Tax owed | $14,000 × 0.15 = $2,100 |
The Crypto Tax Gain Calculator applies this logic with fields for your purchase price, sale price, and filing status to estimate what you'll owe — or what loss you can claim.
UK Capital Gains Tax
In the United Kingdom, CGT rates differ from US rates. For the 2024/25 tax year, basic-rate taxpayers pay 10% on most assets (18% on residential property); higher-rate taxpayers pay 20% (24% on residential property). Everyone receives an Annual Exempt Amount. The UK Capital Gains Tax Calculator applies current UK rates and the annual exemption automatically.
Income Tax and AGI
Adjusted Gross Income (AGI) is a critical number on US tax returns — it's your total income minus specific above-the-line deductions like student loan interest, IRA contributions, and self-employment tax. Many credits and deductions phase out above certain AGI thresholds. The Adjusted Gross Income (AGI) Calculator walks through each deduction category so you can estimate your AGI before filing.
For Indian taxpayers, House Rent Allowance is a key exemption that reduces taxable income. The HRA Exemption Calculator computes the deductible portion based on actual rent, HRA received, and city of residence.
Lottery and Windfall Tax
Lottery winnings are taxable as ordinary income in the US. Federal withholding is 24% at the time of payment, but higher earners often owe more at tax time. State taxes vary widely. The Lottery Tax Calculator and the Mega Millions Payout Calculator (After Tax) show the realistic after-tax lump sum versus annuity amounts for major jackpots.
Common Mistakes to Avoid
- Forgetting local surtaxes: State sales tax rates are a floor, not a ceiling. Your county or city may add 1-3% on top.
- Using the wrong cost basis: For inherited assets, the basis is typically the fair market value at the date of the original owner's death (stepped-up basis), not the original purchase price.
- Missing the wash-sale rule: In the US, if you sell a security at a loss and rebuy a substantially identical security within 30 days, the loss is disallowed for tax purposes.
- Ignoring corporate tax effective rates: The nominal corporate rate isn't what most companies pay. The Effective Corporate Tax Rate Calculator shows the real rate after credits and deductions.
Frequently Asked Questions
What's the difference between GST and VAT?
GST (Goods and Services Tax) and VAT (Value Added Tax) are structurally similar — both are multi-stage consumption taxes collected along the supply chain. The difference is mainly in terminology: Canada and Australia call it GST; most of Europe and the UK call it VAT.
Do I owe capital gains tax on crypto if I just traded one coin for another?
Yes, in the United States a crypto-to-crypto trade is a taxable event. You realize a gain or loss based on the fair market value at the time of the trade versus your cost basis. Use the Crypto Tax Gain Calculator for each trade.
How does Philippines income tax work?
The Philippines uses a graduated income tax system under the TRAIN law. The Philippines Income Tax Calculator applies the current brackets and shows both the withholding tax and the annual income tax due.
Related Calculators
- Sales Tax Calculator
- California Sales Tax Calculator
- Florida Sales Tax Calculator
- GST Calculator
- GST & QST Calculator
- Adjusted Gross Income (AGI) Calculator
- HRA Exemption Calculator
- Australia Income Tax Calculator
- Philippines Income Tax Calculator
- Lottery Tax Calculator
- Mega Millions Payout Calculator (After Tax)