Texas sales tax calculator
A purchase of 100 at the 8.25% combined rate common in Houston or Dallas carries 8.25 in tax, for a total of 108.25. Enter the pre-tax amount and the combined rate you already know. Free in your browser.
- Free
- Runs in your browser
- No sign-up
- Your data stays on your device
Run — free
Worked example
- Amount
- 100
- Interest rate
- 8.25
- Total
- 108.25
- State rate percent
- 6.25
- Rate decimal
- 0.0825
- Tax
- 8.25
Texas charges a statewide sales and use tax of 6.25 percent on taxable retail sales, and cities, counties, transit authorities, and special purpose districts may add local rates on top of that floor, so the combined Texas rate on a receipt is often 8.00 or 8.25 percent rather than 6.25 alone. ZIP-code lookups, city name tables, and grocery exemptions are out of scope: you already know the combined Texas rate for the destination and want the tax-and-total math applied.
What the Texas combined state and local rate means
The Texas statewide sales and use tax rate is 6.25 percent of the taxable pre-tax selling price. That figure is the state-level floor that applies to taxable tangible personal property and many specified taxable services sold in Texas. Cities, counties, transit authorities, and special purpose districts may each levy a local sales and use tax on top of the 6.25 percent, subject to a combined local ceiling that keeps the total, in ordinary cases, at or below 8.25 percent.
A receipt from Houston, Dallas, Austin, San Antonio, or Fort Worth commonly shows 8.25 percent; an unincorporated county pocket with no city or transit overlay may show only the 6.25 percent state rate. This calculator answers the search for a Texas sales tax calculator that takes the combined state and local rate you already know: you supply the pre-tax amount and that combined percent, and the solver multiplies.
It does not look up a city by name, a ZIP code, a transit authority, or a special purpose district, and it does not apply exemptions, grocery carve-outs, or motor-vehicle specific rules. Given a pre-tax amount A and a combined rate R percent, the tax is A times R divided by one hundred, and the total is A plus that tax. Money is rounded to two decimal places so the result matches a cash-register receipt rather than a long floating-point expansion.
A free sample or a zero-dollar line is allowed and yields zero tax and zero total.
What you can do with it
Texas checkout and invoice quotes
Storefronts and invoice tools send a pre-tax subtotal and the combined Texas rate, then display tax and the amount due without embedding city or transit tables in every client.
Consumer-math homework on Texas receipts
Students compute Texas sales tax on practice prices using a known combined rate and compare handwritten tax and total against a deterministic result before submitting.
FAQ
What is the Texas statewide sales tax rate?
6.25 percent. That is the statutory statewide sales and use tax floor. Cities, counties, transit authorities, and special purpose districts may add local rates on top, up to a combined ceiling of 8.25 percent. You supply that combined percent as rate.
What should I enter as the combined rate?
Send rate as a percent (8.25 means 8.25%, not 0.0825). Use the combined state plus local rate for the destination, for example 8.25 in many large Texas cities or 6.25 where no local overlay applies. ZIP and city lookups are not performed.
How are tax and total computed?
Tax = pre-tax amount × rate / 100, rounded to the nearest cent. Total = amount + tax. Example: amount 100 and rate 8.25 → tax 8.25, total 108.25. A rate of 0 is valid and yields zero tax.
What happens if the purchase amount is negative?
A negative pre-tax amount is not allowed; zero is valid and yields zero tax and zero total.
Is the Texas sales tax calculator free?
The browser tool is free and runs locally.
Related tools
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/fin/texas-tax \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"amount":100,"rate":8.25}'const res = await fetch("https://api.kit.forhosting.com/fin/texas-tax", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"amount": 100,
"rate": 8.25
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/fin/texas-tax",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"amount": 100,
"rate": 8.25
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/fin/texas-tax", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"amount":100,"rate":8.25}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"amount":100,"rate":8.25}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/fin/texas-tax", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"amount": 100,
"rate": 8.25
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "fin.texas_tax",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Limits
max_abs | 1000000000000 |
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |
Technical notes
Shoppers, cashiers, invoice tools, and checkout scripts constantly need the two numbers that follow from a pre-tax purchase amount and that combined rate: how much tax is due, and what the customer pays after tax. This Texas sales tax calculator accepts a non-negative pre-tax purchase amount and the combined state and local tax rate as a percent, multiplies the amount by that combined rate, and returns the tax and the total. A negative purchase amount is rejected with invalid_input instead of inventing a refund.
What the Texas combined state and local rate means
A negative purchase amount is not a purchase in this model; it would invert tax into a rebate, so the API rejects it with invalid_input instead of returning a negative tax that would confuse cart software.
Input contract, response shape, and error behaviour
Rate must stay between zero and 8.25 inclusive, the statutory combined ceiling commonly quoted by the Texas Comptroller of Public Accounts. The 6.25 percent Texas state rate is echoed on success as context so callers who searched for a Texas sales tax calculator can see the statewide floor next to the combined percent they supplied. Send a JSON body with two required finite numbers: amount (aliases price, purchase, pre_tax, subtotal, net), the non-negative pre-tax purchase in United States dollars, and rate (aliases combined_rate, tax_rate, percent, combined_percent, sales_tax_rate), the combined Texas state and local sales tax as a percent where 8.25 means 8.25 percent, not a decimal fraction. Each field may arrive as a JSON number or as a numeric string that matches a strict finite pattern without dollar signs, percent signs, or thousands separators. Absolute value of amount must stay within one trillion so the product remains finite in IEEE double precision on the Worker and in the browser. On success the response echoes amount rounded to cents and rate, reports state_rate_percent 6.25, rate_decimal as the combined percent divided by one hundred, returns tax and total as two-decimal money, names the jurisdiction as Texas with combined state and local, and restates the formula tax equals amount times rate over one hundred, total equals amount plus tax. Failed validation—missing amount, missing rate, a non-finite value, a value outside the absolute limit, a rate above 8.25, or a negative purchase amount—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item. Prefer numbers over currency-formatted strings; if your source is a receipt photo, extract the pre-tax subtotal and the combined Texas rate first and then call this endpoint.
Where a Texas sales tax calculator earns its keep
Storefronts that sell into Texas and want a transparent combined-rate quote can send the cart subtotal and the known destination combined percent, then display tax and total without reimplementing percentage math in every client. Invoice and estimate tools used by independent contractors in the state can fill a tax line at the combined rate they already look up from the Texas Comptroller local-rate table, then show a due-now total in one call. Consumer-math classrooms and exam-prep generators need a deterministic oracle that marks a negative purchase as invalid instead of silently flipping the sign. Quality-assurance suites for billing libraries can pin one hundred dollars at an 8.25 percent Houston combined rate to tax 8.25 and total 108.25, plus a fractional price such as forty-nine point ninety-nine at the 6.25 percent state-only floor for cent-rounding checks, and a deliberately negative amount to prove the hard invalid_input path. This landing targets people searching for a Texas sales tax calculator, the combined state and local rate, or tax and total on a Texas purchase; it is not a ZIP-code tax API, not a generic rate-input sales tax tool, and not a reverse calculator that starts from a tax-inclusive receipt. Prefer this capability when you already know the pre-tax amount and the combined Texas percent and want tax and total applied; if you need a single caller-supplied percent with no Texas ceiling or statewide-floor context, use a generic sales-tax endpoint instead. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap. Round-trip checks are easy: recompute amount times rate over one hundred by hand, confirm it equals the published tax within the same two-decimal rounding, then confirm that amount plus tax equals the published total at the published $0.002 automation rate.
Integration use cases
Unit tests for Texas cart libraries
QA and engineering pin known-good cases such as one hundred dollars at 8.25 percent to tax 8.25 and total 108.25, plus deliberate negative-amount rejections for golden expected values.