Percentage Calculator
calculate percentages, percentage changes, and ratios
Interactive Percentage Calculator — coming soon
In development. We're still building the interactive Percentage Calculator. The guide below explains exactly what it does and how to use it. In the meantime, here are DevLab tools that already work in your browser:
Browse all working tools →Entering a base value and a percent returns the calculated portion instantly: type 340 and 15 to get 51, plus a reverse confirmation that 51 is 12% of 340 as a cross-check. Multiple modes cover percentage-of, signed percentage change, and ratio-to-percent conversion in one session. That removes the three separate RapidTables lookups most developers make when debugging a discount or commission formula mid-code.
What is Percentage Calculator?
The calculator accepts two numbers and a mode, then returns the result alongside the inverse relationship. In percentage-of mode, entering 850 and 12 yields 102 and confirms that 102 is 12% of 850. Percentage-change mode takes a before and after value and returns the signed delta, so 200 to 170 reports -15% rather than 15%.
Developers reach for this when sanity-checking a formula mid-code without switching to a Python REPL or a WolframAlpha query. RapidTables covers similar ground but splits the three calculation types across separate pages, which breaks focus. For anything beyond a quick spot-check, a short Python script or a named-cell spreadsheet keeps a reusable and auditable record.
IEEE 754 doubles surface here the same way they do everywhere in JavaScript: 1 divided by 3 times 100 gives 33.333333333333336%, not 33.33%. The display rounds for readability, but copying the raw value into another system expecting a clean decimal carries those trailing digits along. Rounding explicitly to the required precision before passing a percentage to a database DECIMAL column or an API payload is the caller's responsibility, not the tool's.
When to use Percentage Calculator
- Verify a discount multiplier before committing a promo rate to a codebase constant or an environment variable.
- Audit a reported metric by checking whether a stated percentage increase matches the raw before-and-after numbers in a dataset.
- Convert a ratio like 47 passed tests out of 200 into the percentage threshold needed for a CI coverage badge.
Frequently Asked Questions
What is the difference between percentage change and percentage difference, and which does this tool calculate?
Why does the result sometimes show many decimal places like 33.333333333333336 instead of 33.33?
What happens when the starting value for a percentage change is zero?
Can this calculate chained or compounded percentage changes, for example a 20% discount followed by a 10% markup?
Is the percentage-change result signed, or does it always return a positive number?
Related Tools
- Number Base Converterconvert numbers between binary, octal, decimal, and hex · Numbers
- Bit & Byte Calculatorconvert between bits, bytes, KB, MB, GB, TB instantly · Numbers
- Roman Numeral Converterconvert between Arabic numbers and Roman numerals · Numbers
- Date Duration Calculatorcalculate the duration between two dates or add/subtract time · Time