Blog
Unit converters

Percent to fraction converter

Enter a percentage (a decimal one is fine, e.g. 37.5%), and the converter translates it into a reduced fraction, shows the decimal value, and, if the percentage is over 100%, represents it as a mixed number.

Your data never leaves this device

Result

Fraction
Decimal value
Mixed number / irreducible fraction

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

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.

Related tools

All tools