---
title: "Discussion on \"Reverse sales tax: how to find the pre-tax price from a receipt total (with JavaScript)\" | Hashnode"
description: "Discussion on \"Reverse sales tax: how to find the pre-tax price from a receipt total (with JavaScript)\". Disclosure: I'm Zayed and I build ClearCalc Tools, a free calculator site. This post explains the math behind one of its features.\nA very common mistake when you want the price before tax is to subtra"
url: "https://hashnode.com/posts/reverse-sales-tax-how-to-find-the-pre-tax-price-from-a-receipt-total-with-javascript/6af53fe7c449419ead83e895"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reverse sales tax: how to find the pre-tax price from a receipt total (with JavaScript)](https://clearcalc-notes.hashnode.dev/reverse-sales-tax-how-to-find-the-pre-tax-price-from-a-receipt-total-with-javascript?utm_source=hashnode&utm_medium=feed)

Disclosure: I'm Zayed and I build ClearCalc Tools, a free calculator site. This post explains the math behind one of its features. A very common mistake when you want the price before tax is to subtra

2d ago · 2 min read · clearcalc-notes.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#math](https://hashnode.com/tag/math)

## Written by

[Zayed](https://hashnode.com/@zayed-clearcalc)

@zayed-clearcalc

  
[View profile](https://hashnode.com/@zayed-clearcalc)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
