Fengvi Discount Calculator: A Complete Feature Guide
Disclaimer: This guide describes the calculator's features and the arithmetic behind them. Promotions, tax rules and rounding vary by retailer and country, so treat the merchant's checkout as the final word.
Most discount calculators answer one question: original price times discount equals sale price. That is useful, but rarely the whole story at the checkout. Real promotions stack a second percentage on the first, hand you a fixed amount off instead of a percentage, add tax at the very end, and tempt you to compare several items at once. A tool that only multiplies two numbers leaves the hard parts to mental arithmetic — exactly where mistakes happen.
The Fengvi Discount Calculator is built for those situations. It works in both directions, accepts percentages or fixed amounts, models stacked discounts correctly, adds tax on request, keeps a small comparison cart, remembers recent calculations, and can hand a link to someone else with every number filled in.
This guide covers each feature in the order you meet it, explains what problem it solves, and shows the arithmetic so you can check the result against the shelf label.
Two calculation directions: Forward and Reverse
Do you know the discount and want the price, or do you know the price and want the discount?
Most shopping starts with a percentage: a jacket at 30% off, $120 — what do you pay? That is Forward mode, the default. The other direction appears when a tag shows two prices instead of a percentage: “was $80, now $60”. What discount is that? That is Reverse mode.
The mode tabs sit at the top of the form. Switching does not clear what you typed; it shows the inputs that belong to that direction. Forward keeps the discount controls. Reverse replaces them with a single Sale price field.
Forward: sale price = original × (1 − percent / 100)
Reverse: discount % = (original − sale) / original × 100
A worked Reverse example, $80 reduced to $60:
savings = 80 − 60 = 20
discount % = 20 / 80 × 100 = 25%
“Was $80, now $60” is a genuine 25% off — not 20%, not 33%. Both directions share one result panel, so the layout never shifts under your hands.
Forward mode in detail
Forward mode carries the most controls, and every one of them is optional except the price.
Original price: typed, pasted, or rounded
This field exists to get a real price into the calculator without fighting formatting.
It accepts decimals, so $129.99 is fine, and it accepts text copied from a product page, an email or a chat message. These all resolve to the same number:
$1,299.99→ 1299.991.299,99→ 1299.99 (European separators)1,500→ 1500 (comma as thousands separator)
The rule: symbols and spaces are stripped; when both separators appear, the right-most one is the decimal point; a lone comma counts as a decimal separator only when one or two digits follow it.
Two behaviours keep the field tidy. Leaving it rounds the value to two decimals, so 129.999 settles at 130. And the input is capped at one billion, which stops an accidental paste from producing a result like $∞.
A short note under the field names the currency in use — see the currency section below, because it matters.
Percent off or a fixed amount
“30% off” and “$50 off with this code” are both common, and mixing them up is expensive.
The % / currency buttons sit under the Discount percentage label. With % selected you get four preset buttons (10%, 20%, 30%, 50%) and a slider from 0 to 100 that updates the result as you drag. Choose the currency symbol instead and those controls step aside for an Amount off field; the label above follows the switch.
Percent mode: sale price = original × (1 − percent / 100)
Amount mode: saved = min(amount, original), sale price = original − saved
The min() is what stops a $50 coupon from turning a $30 item into a negative price. The panel then reports the equivalent percentage, so a fixed amount can be compared against a percentage promotion on equal terms. On a $200 item, $50 off is 25% off; on a $400 item the same $50 is 12.5%.
Extra discount: why stacking is not addition
This field exists for the most expensive mistake in discount maths: adding two percentages together.
When a store says “30% off, plus an extra 20% at checkout”, the second discount applies to the already-reduced price. The percentages multiply:
sale price = original × (1 − first% / 100) × (1 − extra% / 100)
A $120 item with 30% off and an extra 20%:
120 × 0.70 = 84.00
84 × 0.80 = 67.20
You pay $67.20, not $60, and the effective discount is 44%, not 50%:
44% = (1 − 0.70 × 0.80) × 100
When an extra discount is present, the panel adds a Total discount row with that effective figure — the single number worth comparing between promotions, because it collapses any number of stacked percentages into one honest value.
One deliberate constraint: this field only exists in Forward mode. Stacking has no meaning when you work backwards from two prices, so Reverse hides it and excludes it from the calculation.
Tax rate and the tax-inclusive total
This optional field handles the moment after the discount, when the register adds sales tax or VAT and the total jumps.
Tax rate (%) — optional accepts two decimals, so 8.25% works without rounding. Tax is calculated on the discounted price, as most jurisdictions apply it:
tax = sale price × taxRate / 100
total = sale price + tax
At $129.99 with 20% off you pay $103.99. With 8.25% tax:
tax = 103.99 × 0.0825 = 8.58 (rounded)
total = 103.99 + 8.58 = 112.57
Two rows appear — Tax, labelled with your rate, and Total incl. tax. Leave the field empty and both rows stay hidden; nothing is assumed.
Reading the result panel
The panel answers “what do I pay, and is this a good deal” in one glance.
You pay is the large number, with Original: $129.99 underneath so the pair stays visible together. You save sits beside it, and its sub-line explains how the saving was produced — 20% off, 20% off + 10% off, or $50.00 off.
Below the cards, Discount strength is a bar with tick marks at 10%, 30% and 50%, plus a four-band legend:
| Band | Meaning |
|---|---|
| 0–10% Regular | A small, everyday discount |
| 10–30% Standard sale | A typical seasonal promotion |
| 30–50% Strong promo | A genuinely good markdown |
| 50%+ Clearance | End-of-line pricing |
The bar tracks the effective discount, so a stacked promotion pushes it further than either percentage alone suggests. Savings insight adds one sentence keyed to the same bands — context, not advice.
Screen reader users hear a summary such as “You pay: $103.99 · You save: $26.00” when Calculate is pressed. Live preview updates stay silent, so typing never produces a stream of announcements.
Reverse mode
Reverse mode turns two prices into one honest percentage.
Select the Reverse tab and the discount controls disappear. The form keeps Original price, adds Sale price, and keeps the tax field, since tax applies to what you actually pay.
savings = original − sale price
discount % = savings / original × 100
For $80 reduced to $60, savings are $20 and the discount is 25%. The result panel is identical to Forward mode, so a reverse result and a forward result are directly comparable.
One validation rule: the sale price cannot exceed the original price. If it does, the calculation is refused rather than producing a negative discount, because a price increase is not a discount and would distort the rest of the panel.
Cart comparison
Three items, three promotions, one budget — that is what this panel is for.
Inside the result panel there is an Add to comparison button. Each click stores a snapshot — original price, discounted price, amount saved, tax rate, effective percentage — and reveals the Cart comparison panel below the result.
Each row shows $129.99 → $103.99 with a sub-line such as 20% off · You save $26.00, plus a remove button. Four totals accumulate at the bottom:
- Total original — the basket at full price
- Total discounted — what you pay, before tax
- Total saved — the difference
- Total incl. tax — only when at least one item carried a tax rate
Clear list empties the panel. The list lives in sessionStorage: a refresh keeps it, closing the tab removes it, nothing is uploaded.
Two promotions that look similar on one item often separate clearly across a basket — that is the point of the panel.
Recent calculations
This answers “what was that number I tried five minutes ago”.
Every explicit Calculate press records the full input state: mode, discount type, original price, percentage or amount, extra discount, tax rate, and sale price in Reverse mode. Up to five snapshots are kept, newest first, and identical inputs are de-duplicated so repeated presses do not fill the list.
Snapshots appear as chips under the form, labelled with what identifies them — $129.99 · 20%, $120.00 → $90.00. Clicking a chip restores mode, type and every field, then recalculates. Nothing is retyped.
Recent calculations use sessionStorage too, and vanish when the tab closes.
Shareable links
Sending a scenario to a partner, a friend in the queue, or a colleague approving a purchase.
The share button builds a URL carrying the current calculation, so opening it lands on a page already filled in and already showing the result. The parameters are readable and editable by hand:
?price=129.99&off=20
?price=120&off=30&extra=20
?price=120&sale=90&mode=reverse
?price=200&type=amount&amount=50
Any of them can carry a rate as well:
?price=129.99&off=20&tax=8.25
price is the original price, off the percentage, extra the additional discount, tax the rate, sale the sale price; mode=reverse selects Reverse mode, and type=amount with amount selects a fixed amount. Numeric values outside their valid range are ignored rather than producing a broken page, and an unrecognised mode or type value simply leaves that setting at its default.
Where the Web Share API exists the button opens the native sheet; elsewhere it copies the link and confirms it. With no calculation yet, it shares the plain page rather than a half-filled link.
Copy result
Pasting a number into a message without retyping it.
Copy result writes one readable line, built from a template:
{percent} off {original} = {pay} (save {saved})
A real example:
20% off $129.99 = $103.99 (save $26.00)
The template is translated with the rest of the interface, so the same action reads naturally in every supported language instead of embedding English in a localised page.
Copying degrades gracefully: the clipboard API when available, a hidden text area with execCommand next, and finally a prompt so the text can be copied by hand. A short confirmation appears beside the button and clears itself after a couple of seconds.
Currency and language
The same number means different money in different places.
The interface is available in eleven languages, and the display currency follows the language:
| Language | Currency | Language | Currency |
|---|---|---|---|
| English | USD | German | EUR |
| Chinese | CNY | French | EUR |
| Japanese | JPY | Spanish | EUR |
| Korean | KRW | Italian | EUR |
| Russian | RUB | Portuguese | EUR |
| Arabic | SAR | ||
The page states the caveat plainly: the symbol follows the language, but the amounts are not converted. Enter 100, switch from English to Chinese, and you see ¥100 — not the yuan value of 100 dollars. This tool does discount arithmetic, not foreign exchange; the Currency Converter is the right tool for that.
Switching language re-localises number formatting, the Discount strength legend, cart totals, recent-calculation chips, the currency prefix and accessibility labels such as the slider description — without recalculating or interrupting you. Your inputs and results stay as they were.
Live preview versus Calculate
The panel updates as soon as the inputs are valid. Typing a price, dragging the slider, switching modes or changing the tax rate all recompute immediately. Live preview is deliberately quiet: no alerts, no scrolling, no screen reader announcements.
Calculate does four extra things. It validates the inputs, records the calculation in Recent calculations, scrolls the result into view, and announces the summary to assistive technology. It is the “I am done, show me the answer” action.
If the inputs are invalid when you press it — an empty price, a sale price above the original, a rate outside 0–100 — you get a short explanation and the previous result is cleared. That detail matters: a stale result under freshly typed invalid input is easy to misread as the answer to the new numbers.
Privacy and data
Everything is calculated in the browser. No account, no sign-up, no analytics on the numbers you enter, no upload of prices or results.
The two features that remember anything — Cart comparison and Recent calculations — use sessionStorage, scoped to the current tab. A refresh keeps them; closing the tab removes them. Nothing is written to a permanent profile and nothing crosses devices.
What this covers, and where it stops
The calculator handles the arithmetic shopping actually requires: a single discount, a fixed amount, a stacked promotion, a tax-inclusive total, a basket of items, and a link that carries the whole scenario to someone else. Each is a place where mental arithmetic quietly loses a few percent.
Two honest limitations. Tax is the only addition modelled — shipping, handling, tips, restocking fees and membership surcharges are not included, so the register total can still exceed Total incl. tax. And results are rounded to two decimals, as a register does, while individual stores may round differently or apply tax per line item.
Use these numbers to decide whether a promotion deserves your attention, then treat the merchant's checkout as the final word.
If a discount question turns into a broader percentage question, the Percentage Calculator covers that family of problems. To see tax handled in more depth, the Sales Tax & VAT Calculator goes further. And when the price is in a currency you do not think in, the Currency Converter does the conversion this tool deliberately skips.
Bookmark the page before the next sale season: the stacked-discount and tax fields save the most money precisely because they are the easiest to get wrong in your head.
Methodological note: This guide was written and fact-checked by the Fengvi Editorial Team against the published behaviour of the calculator. Every worked example can be reproduced on the tool page.