Cost Calculator

Calculate total cost from unit price and quantity, with optional discount, tax, shipping, and fees.

How to Use

  1. Enter Unit Cost and Quantity.
  2. Optionally add a Discount, Tax, Shipping, or Extra Fees.
  3. Results update instantly (no URL changes while typing).
  4. Use Share Link to generate a restoreable URL.
Inputs
All fields are optional except Unit Cost and Quantity.
Cost per item, hour, unit, etc.
Supports decimals for weight/hours if needed.
Percent is applied to subtotal (unit × qty). Amount subtracts directly.
Rate applies after discount. Amount adds directly.
Added after tax (displayed separately in Show Work).
Handling, service fees, etc.
Results

Totals update instantly as you type.

Subtotal
Discount
Tax
Shipping
Extra Fees
Total
Enter unit cost and quantity to begin.
Per Unit (final)
Per Qty 1
Show Work (step-by-step)
Work is shown using money math. If “Round to cents” is enabled, outputs are rounded to 2 decimals.

Calculation Details

  • Subtotal = Unit Cost × Quantity
  • Discount (percent) = Subtotal × (Discount% ÷ 100)
  • Discounted Subtotal = Subtotal − Discount
  • Tax (rate) = Discounted Subtotal × (Tax% ÷ 100)
  • Total = Discounted Subtotal + Tax + Shipping + Extra Fees

Tip: Use “Amount” modes when you already know the exact discount/tax value (instead of a percent).

Tool Info

Last updated:

Updates may include improved rounding behavior, edge-case handling, and expanded options.