Cost Calculator
Know what is counted.
A browser calculator for a simple estimate in one chosen currency.
Rounding and order
- Multiply each quantity by its unit price, then round that line to cents, half up.
- Add the rounded lines to get the subtotal.
- Calculate the discount percentage of the subtotal and round it to cents.
- Calculate the tax percentage of the discounted subtotal and round it to cents.
- Add tax to the discounted subtotal for the final total.
For example, 3 × 19.95 gives 59.85. A 10% discount rounds to 5.99, leaving 53.86. Tax at 8.25% rounds to 4.44, giving 58.30.
Supported inputs
Up to 50 items, quantities from 0 to 100,000 with up to 3 decimal places, and unit prices from 0 to 100,000 with up to 2 decimal places. Use a decimal point and no grouping separators. Discount and tax accept 0–100 with up to 2 decimal places; an empty percentage is treated as zero. Negative values, exponent notation, and extra decimal places are rejected.
USD, EUR, GBP, CHF, and RUB are displayed with two decimal places. Choosing a currency changes the label; it does not convert the prices. Tax is a user-supplied percentage applied to the whole discounted subtotal. Local tax rules, tax-inclusive pricing, and item-specific exemptions are not modeled.
Privacy
Entries stay in the current browser page. No input uploads, accounts, analytics, tracking cookies, external APIs, or localStorage content. Reset, reload, or leave the page to clear the current session; the browser may restore forms through its own history. Copy and print create copies you control. The server may log ordinary page requests, including IP address, path, browser information, and time.