ToolSprinkle.

Percentage calculator

Calculate a percentage of a value, percent change or a share. Compare worked examples and distinguish percentage change from percentage points.

A little more clarity.
PROCESSED ON YOUR DEVICE

Ready when you are.

◎ No uploads. Your input stays here.↗ Free to use. No account needed.⌘ / Ctrl + Enter to run

A worked example

Enter 20 and 150 in the two fields, or select Try an example. This asks for 20 percent of 150, not the change from 20 to 150.

Input / settings

Calculation: A% of B
Value A: 20
Value B: 150

Expected result

30
20% of 150
A LITTLE GUIDANCE

How to use Percentage calculator

Choose A% of B, Change from A to B, or A as a % of B, then enter Value A and Value B. Results update as you edit; Run tool also recalculates. For change, A is the old value and B is the new value.

Good to know

Change divides by the absolute starting value and is undefined from zero. Ratios cannot divide by zero. Results display up to six decimal places using JavaScript number arithmetic, not exact decimal accounting.

A few quick answers.

Why is change from zero undefined?

Percentage change divides by the original value, which cannot be zero. For negative starting values, this tool divides by the absolute starting value; check that convention fits your use case.

Is my input sent to a server?

No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.

Can I use it for free?

Yes. No account, subscription or usage credits are required.

How do I keep my result?

Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.

Choose the right percentage calculation

A percentage of a value versus a share

A% of B uses A ÷ 100 × B: 20% of 150 is 30. To ask what share 30 is of 150, choose A as a % of B with A = 30 and B = 150; A ÷ B × 100 gives 20%. A share can exceed 100%: 180 out of 150 is 120%. The two modes answer different questions.

Change uses the starting value

Choose Change from A to B. From 80 to 100 gives 25% change: (100 − 80) ÷ 80 × 100. Reversing the values gives -20%, not -25%, because the denominator is now 100. An increase followed by an equal percentage decrease does not usually return to the original value.

Percentage points are subtraction, not percent change

A rate moving from 20% to 25% rises by 5 percentage points: 25 − 20. The relative increase is 25%, which this tool returns in Change mode with A = 20 and B = 25. There is no separate percentage-point mode; do not label the percent-change result as points.

Zero, negative values and precision

Change from zero and a ratio with B = 0 produce an error. A = 0 in A% of B gives 0. For change from -100 to -50, the absolute-start convention gives +50%; this convention may not suit financial growth reporting. Outputs round to at most six decimal places, so 1 as a percentage of 3 displays 33.333333%. Very large or very small values can exceed floating-point precision; use an appropriate decimal calculation for accounting.

Choose your calculation: compare a share or percentage change, apply a sale discount, or add a tip and split equally. Re-enter values deliberately when switching tools; results are not transferred automatically.

Precision reference: JavaScript Number and floating-point limits. These are practical estimates, not exact decimal accounting.

Keep your flow going.

More calculators ↗

What would you like to do?

↑ ↓ Navigate · Enter Open · Esc Close. Switching tools clears unsaved input.