Value of %, percent of, change, difference
Percentage Calculator
Four modes: what is X% of Y, X is what percent of Y, percent change (increase or decrease), and percent difference. Logic Trace and ratio visualizer; decimal places 0–6. Runs locally.
By Jeff Beem
Updated
Percentage Laboratory
Choose a mode and enter two values. Result and Logic Trace update in real time. Use Value of % for “What is X% of Y?”, % Of for “X is what % of Y?”, Change for increase/decrease, or Difference for symmetric comparison.
Formatting
Enter two values
Both fields must be valid numbers.
Ratio visualizer
Reading results in each mode
Four mode buttons set the question type. Enter two numbers on the left; on the right the panels stack as Result → ratio visualizer → Logic Trace. Decimal places (0–6, default 2) and optional scientific notation sit under the inputs. Values stay in the fields when you switch modes.
Worked examples (placeholder values)
% Of → 34 out of 40
Change → $80 to $96
Difference → 80 vs 100
Percentage Calculator: What is X% of Y, Percent Change & Difference
Four modes with Logic Trace and ratio visualizer: value of a percent, percent of a whole, percent change, and percent difference. Decimal places 0–6. Runs locally in your browser.
What This Calculator Does
How the Math Works
- Value of %:Example: 15% of 200 = 30.
- % Of:Whole cannot be 0. Example: 30 of 200 = 15%.
- Change:Initial cannot be 0. Example: 80 → 96 is +20%.
- Difference:Result shown as a positive percent. Average 0 is undefined.
How to Use This Calculator
- Mode buttons:Value of %, % Of, Change, Difference — sets labels and formula.
- First input:Percent (Value of %), part (% Of), initial (Change), or value A (Difference).
- Second input:Whole (Value of % / % Of), new amount (Change), or value B (Difference).
- Result panel:Main answer; Change uses ↑/↓ with “Increase/Decrease” and absolute change (no italic summary). Value of % adds a fractional line; Value of %, % Of, and Difference add an italic summary.
- Ratio visualizer:Single bar (Value of %, % Of, Difference) or stacked bar (Change). Value of % bar width uses P clamped to 0–100%.
- Logic Trace:Step-by-step substitution; errors in red when division by zero.
Percent change vs percent difference
Examples: tip, test score, and price change
Percentage Calculator FAQ
How do I calculate what is X% of Y?
How do I find what percentage X is of Y?
What is the formula for percent change?
What is the difference between percent change and percent difference?
What is a percentage?
How do I convert a percent to a decimal?
How do I convert a decimal to a percent?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.