general
Calculates total cost including sales tax for a purchase. Given a unit price, tax rate percentage, and optional quantity, computes the subtotal (price times quantity), the tax amount rounded to two decimal places, and the final total. Useful for estimating purchase costs across US states and municipalities with different tax rates, comparing pre-tax and post-tax prices, and budgeting. Chain into salary_to_hourly to see how many work-hours a purchase represents.
post/api/sales_tax
Request
- Base URL: https://calc.engineer
- URL: https://calc.engineer/api/sales_tax
- Auth: none declared
Request body
Response
Computed result for sales_tax
Changes
No recorded changes to this operation across all 1 revision of this API.