Percentage Calculator

Calculate percentages with four modes: X% of Y, what percent X is of Y, percentage change, and percentage difference.

percentPercentage Calculator
tune

Calculation Mode

Select Mode
Percentage
%
Number
analytics

Results

percent

Enter values to see results

info

About Percentage Calculator

The Percentage Calculator handles every common percentage operation in one place. Four distinct modes cover the full range of day-to-day needs: finding what a specific percentage of a number equals (X% of Y), determining what percentage one value represents of a total (X is what % of Y), measuring how much a value has grown or shrunk between two points (% Change), and comparing any two values without implying a direction (% Difference). Results appear in real time as you type, accompanied by the exact formula used so you can verify or reuse the arithmetic.

Because percentage questions show up everywhere — a sales report, a school grade, a shopping discount, a lab measurement — the tool is deliberately broad rather than narrow. Each mode is clearly labelled with an icon and a one-line description, so you always know which one fits your situation. The % Change mode also colour-codes the result green for an increase and red for a decrease, giving you an instant visual signal without having to read the sign of the number. In X% of Y mode a quick-reference table automatically lists the 10%, 25%, 50%, and 75% values of your base number, useful when you need several benchmarks at once.

Every calculation runs entirely in your browser using JavaScript. No numbers are uploaded, stored, or logged on any server, so you can safely enter financial figures, exam scores, or any other sensitive data. The tool is free, has no account requirement, and works offline once the page has loaded.

star

Key Features

check_circle

Four calculation modes in one tool

Switch between X% of Y, X is what % of Y, % Change, and % Difference without leaving the page. Each mode re-labels the inputs so you always know exactly what to enter.

check_circle

Real-time results with formula breakdown

The answer updates instantly as you type. A dedicated breakdown panel shows the full arithmetic expression — not just the number, but how it was derived — so you can double-check or quote the formula elsewhere.

check_circle

Directional colour coding for % Change

When calculating percentage change, the result card turns green for an increase and red for a decrease, and an up or down arrow confirms the direction at a glance.

check_circle

Quick-reference table for common benchmarks

In X% of Y mode, the tool automatically displays 10%, 25%, 50%, and 75% of your base number in a compact table, giving you multiple reference points without extra inputs.

check_circle

Up to 6 decimal places, trailing zeros stripped

Results are formatted to show only the significant decimal digits you need. Whole numbers appear without a decimal point; fractional results are trimmed to remove meaningless trailing zeros.

check_circle

Runs fully offline, zero data sent

All arithmetic happens locally in your browser. No values leave your device, making it safe for confidential figures such as salaries, financial projections, or patient measurements.

help

How to Use

01

Choose a Calculation Mode

Select one of four modes: "X% of Y" to find a percentage of a number, "X is what % of Y" to find what percent a value represents, "% Change" for increase or decrease between values, or "% Difference" for the relative difference between two numbers.

02

Enter the First Value

Type the first number into the input field. Depending on the mode, this will be the percentage, the value, or the starting number.

03

Enter the Second Value

Type the second number. This is the base number, total, ending value, or comparison value depending on the selected mode.

04

View Your Results

Results appear instantly as you type. See the main result highlighted in a card, along with a detailed calculation breakdown showing the formula used. In "X% of Y" mode, a quick reference table also shows common percentages.

code_blocks

Example

Using % Change mode: enter 80 as the starting value and 92 as the ending value. The calculator divides the difference by the absolute starting value and multiplies by 100 to show the percentage increase.

Inputs (% Change mode)
Mode: % Change
From: 80
To: 92
Result
Percentage Increase: 15%

Formula: ((92 − 80) ÷ |80|) × 100 = +15%
lightbulb

Common Use Cases

  • arrow_circle_right

    Checking a discount at the point of sale

    Enter the original price and the sale price in % Change mode to see the exact markdown percentage instantly, so you can tell whether a "40% off" label is accurate before you buy.

  • arrow_circle_right

    Grading and scoring assignments

    Use X is what % of Y mode to convert a raw score (e.g. 43 out of 55) into a percentage grade in one step, without a separate grade calculator or spreadsheet formula.

  • arrow_circle_right

    Tracking business metrics over time

    Paste last month's revenue as "From" and this month's as "To" in % Change mode to get the exact growth or decline rate for a report, with the sign and colour making the direction immediately obvious.

  • arrow_circle_right

    Splitting bills and tips fairly

    Switch to X% of Y mode to calculate a specific tip percentage on a bill total, or find each person's share when splitting unequal costs — the quick-reference table for 10%, 25%, and 50% helps without extra typing.

  • arrow_circle_right

    Scientific and lab data comparison

    Use % Difference mode to compare two measured values (such as experimental vs. theoretical results) where neither is the "correct" baseline — the symmetric formula avoids the directional bias of % Change.

quiz

Frequently Asked Questions

How do I calculate a percentage of a number? expand_more
Select the "X% of Y" mode, enter the percentage in the first field and the number in the second field. The calculator multiplies the number by the percentage divided by 100. For example, 15% of 200 equals 200 × (15/100) = 30.
How do I find what percentage one number is of another? expand_more
Use the "X is what % of Y" mode. Enter the part value in the first field and the total in the second. The calculator divides the part by the total and multiplies by 100. For example, 30 is (30 ÷ 200) × 100 = 15% of 200.
What is the difference between percentage change and percentage difference? expand_more
Percentage change measures the relative change from an original value to a new value and has a direction (increase or decrease). Percentage difference measures the relative difference between any two values without implying a direction — it is always positive and uses the average of the two values as the denominator.
Can the percentage change be negative? expand_more
Yes. When the new value is smaller than the original, the percentage change is negative, indicating a decrease. The calculator highlights decreases in red and increases in green so you can see the direction at a glance.
Is my data secure when using this calculator? expand_more
Yes. All calculations happen locally in your browser using JavaScript. No numbers or results are sent to any server. The tool works fully offline once loaded.
How is this different from the Discount Calculator? expand_more
The Discount Calculator is focused specifically on retail pricing: you enter an original price and a discount percentage and it returns the sale price and the amount saved. This Percentage Calculator is a general-purpose tool that works with any numbers in any context — grades, measurements, growth rates, fractions of totals — and offers four distinct calculation modes including % Change and % Difference that a discount-only tool does not have.
When should I use % Difference instead of % Change? expand_more
% Change is the right choice when you have a clear "before" and "after" — the original value is the reference point and the result can be positive or negative. % Difference is better when the two values are peers with no implied baseline, such as two experimental measurements or two competing prices. The formula uses the average of both values as the denominator, so the result is always positive and symmetric regardless of which value you enter first.
Why does the result show decimal places sometimes? expand_more
The calculator preserves up to six decimal places and strips trailing zeros. If your inputs produce a non-integer result — for example, 1 is what % of 3 equals 33.333333% — those digits are shown so you get an accurate answer. If the result is a whole number, no decimal point appears.
Can I copy the result for use in a report? expand_more
Yes. The Copy button in the toolbar copies both the final result and the full formula breakdown to your clipboard in plain text, formatted as "Result: X\nFormula: Y". You can paste it directly into a spreadsheet, document, or email.