tools

Sales Tax Calculator

Add sales tax to a net price, or pull it back out of a price that already includes it. Works for US sales tax and for VAT alike. Returns the net, the tax and the gross, rounded so that net plus tax is exactly the gross.

post/api/v1/tools/sales-tax-calculator

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/tools/sales-tax-calculator
  • Auth: HTTP bearer

Request body

amountinteger
ratePercentnumber
modestring

Response

Successful result

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.