induwara.lk
induwara.lkFinance · Percentage

Discount & Percentage Calculator

Work out sale prices, tip splits, percentage change, and tax-inclusive vs tax-exclusive prices in one place. Four calculators in a single card — no signup, no ads, the maths is cross-checked against two different formulas.

By Induwara AshinsanaUpdated May 11, 2026
Quick percentage calculator4 modes
Cross-check verified
%
Common discounts
You save
500.00
Sale price
2,000.00
Effective rate
20.00%
Verified — both formulas agree

Sale price = original × (1 − discount/100) = 2,500.00 × (1 − 20.00/100) = 2,000.00

All calculations run in your browser. Nothing is uploaded.Numbers formatted in the en-LK locale via Intl.NumberFormat.

How it works

Every result on this page comes from an arithmetic identity. There are no rates or brackets that change with policy — the formulas have held since 17th-century commercial arithmetic. The calculator just wires them up to a typed input and shows the cross-check so you can trust the answer at a glance.

1. Discount & sale price

Given an original price P and a discount percentage d, the sale price is P × (1 − d/100) and the savings are P × d/100. The reverse calculation, given two prices, divides the absolute difference by the original. If the "sale" price is higher than the original — a markup, not a discount — the calculator labels the result accordingly so percentage increases on price tags are easy to spot.

2. Tip & split

Tip uses the same identity: tip = bill × pct/100. When you split a bill between n people, the per-head share is (bill + tip) ÷ n. Many Sri Lankan restaurants levy a 10% service charge automatically; treat that as a pre-loaded tip and use this calculator only for any additional gratuity. Most international defaults — 15%, 18%, 20% — are one-tap presets above the bill field.

3. Percentage (three sub-modes)

The percentage tab handles the three questions a search for "percentage calculator" almost always means:

  • X% of Y — multiplicative use: X × Y ÷ 100.
  • X is what % of Y — ratio use: 100 × X ÷ Y. The result is the mathematical definition of percent (per centum). Undefined when Y is zero.
  • Percent change — comparison use: 100 × (new − old) ÷ |old|. We use the absolute value of the old number so a swing from a negative base reads with the correct sign.

4. Tax-inclusive ↔ tax-exclusive

To add tax to a net (tax-exclusive) price: gross = net × (1 + rate/100). To strip tax from a gross (tax-inclusive) price: net = gross ÷ (1 + rate/100). Each result is verified by a round-trip: stripping then re-adding should reproduce the gross to the rupee. Sri Lanka's current standard VAT rate is 18% (effective 1 January 2024, IRD), used as the calculator's default — but any non-negative rate is accepted.

Worked examples

A black-tag sale

Original Rs 2,500 · 20% off

  1. Savings = 2,500 × 20 / 100 = 500.00
  2. Sale price = 2,500 − 500 = 2,000.00
  3. Effective rate = 20% (matches the input)

Restaurant bill split four ways

Bill Rs 2,487.50 · 15% tip · 4 people

  1. Tip = 2,487.50 × 15 / 100 = 373.13 (rounded to 2dp)
  2. Total = 2,487.50 + 373.13 = 2,860.63
  3. Per person = 2,860.63 ÷ 4 = 715.16

Reverse-engineer a VAT-inclusive receipt

Gross Rs 1,180 · rate 18%

  1. Net = 1,180 ÷ (1 + 18/100) = 1,180 ÷ 1.18 = 1,000.00
  2. VAT inside = 1,180 − 1,000 = 180.00
  3. Round-trip check: 1,000 × 1.18 = 1,180 ✓

Edge case — percent change from zero

From 0 to 100

  1. Absolute delta = 100 − 0 = +100
  2. Percent change = 100 ÷ |0| × 100 → undefined
  3. Calculator returns —, hint reads 'From-value is zero'

Frequently asked questions

Sources & references

Formulas and default rates were last cross-checked on 2026-05-11. The page is reviewed annually and whenever the Sri Lanka VAT rate changes.

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Found a bug, edge case, or want to suggest an improvement?

Email me at [email protected] — most fixes ship within 24 hours.