Result
This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.
Facts and limits of this method
| Example: 50% | = 1/2 = 0.5 |
|---|---|
| Example: 37.5% | = 3/8 = 0.375 |
| Example: 150% | = 3/2 = 1 1/2 = 1.5 |
| Reduction method | Dividing the numerator and denominator by their greatest common divisor (GCD) |
When it misleads you
- The fractional part of the percentage (after the decimal point) determines the denominator before reduction — for example, 37.5% with one decimal digit gives the fraction 375/1000, which reduces via the GCD (125) to 3/8.
- For percentages with a long decimal part (such as repeating decimals like 33.333...%), the result's accuracy is limited by how many decimal digits were entered — the converter works with the text as typed, not a true infinite decimal expansion.
- For percentages over 100%, the result is an improper fraction (numerator larger than denominator), which is additionally shown as a mixed number for readability.
- Negative percentages are supported: the minus sign is preserved in both the fraction and the decimal value.
How it is calculated
The entered number is split into an integer and fractional part at the decimal separator, to determine how many decimal digits to account for.
The fraction's numerator is formed by joining all the number's digits (without the separator), and the denominator is 100 multiplied by 10 raised to the number of decimal digits — this converts the percentage into a fraction while removing the decimal point.
The numerator and denominator are divided by their greatest common divisor (computed via the Euclidean algorithm), reducing the fraction to its irreducible form.
If the reduced fraction is improper (numerator ≥ denominator), a whole-number part is additionally extracted to show it as a mixed number.
Questions and answers
Why does 37.5% become exactly 3/8?
37.5% as a fraction is 375/1000; the greatest common divisor of the numerator and denominator is 125, and dividing both by 125 gives the irreducible fraction 3/8.
What if the percentage is over 100?
The result will be an improper fraction (for example, 150% = 3/2) — the converter also shows it as a mixed number (1 1/2) for easier reading.
Can I enter percentages with a comma instead of a period?
Yes, the converter understands both decimal separators — comma and period.
Is my data sent anywhere?
No, the whole calculation runs in your browser.