Type a decimal — 0.75, 2.5, or a repeating one like 0.3333 — and get the simplest fraction with the same value, plus a mixed number when it’s above one. The Serbian decimal comma works too. Everything runs in your browser.
Fraction
Terminating decimals are exact; repeating ones snap to the simplest fraction. Runs in your browser.
How it works
A terminating decimal is a fraction over a power of ten: 0.75 is 75/100, which reduces to 3/4. The tool finds the simplest equivalent using a continued-fraction method, then divides by the greatest common divisor so you always get lowest terms.
For a value that looks repeating, like 0.3333333, the same method snaps to the simplest fraction whose value matches — here 1/3 — as long as the denominator stays reasonable. When the fraction reproduces your number exactly the result is marked with “=”; when it’s a close approximation it’s marked “≈”.
Practical examples
0.75 to a fraction
0.75 = 75/100, which reduces to 3/4. The result is exact, shown with an “=” sign.
2.5 as a mixed number
2.5 becomes 5/2, also shown as the mixed number 2 1/2 — handy for measurements and recipes.
A repeating decimal
Enter 0.3333333 and the tool returns 1/3, recognising the repeating pattern rather than leaving you with 3333333/10000000.
Frequently asked questions
How do I convert a decimal to a fraction by hand?
Write the digits after the point over the matching power of ten, then reduce. 0.6 is 6/10 = 3/5; 0.25 is 25/100 = 1/4. The tool does the reduction for you and also catches repeating decimals.
What is 0.75 as a fraction?
3/4. It’s 75/100 before reducing — dividing top and bottom by 25 gives 3/4. This is one of the most common conversions and comes out exact.
How does it handle repeating decimals?
It uses a continued-fraction search that recognises the simple fraction behind a repeating pattern, so 0.3333… gives 1/3 and 0.1666… gives 1/6, provided you type enough repeating digits for the pattern to be clear.
What do the “=” and “≈” signs mean?
“=” means the fraction equals your decimal exactly. “≈” means it’s the closest simple fraction but not an exact match — which can happen if you type only a few digits of a repeating decimal, or a number with no tidy fractional form.
Does it accept the decimal comma?
Yes. You can type 0,5 or 0.5 — both are read as one half. This matters for Serbian input, where the comma is the usual decimal separator.
Can it convert numbers greater than one?
Yes. 2.5 becomes 5/2 (an improper fraction) and is also shown as the mixed number 2 1/2. Whole numbers like 4 come back as 4 with no denominator needed.
What about negative decimals?
They work — -0.25 gives -1/4. The sign is kept on the numerator and the denominator stays positive.
Why isn’t my long decimal turning into a tidy fraction?
If the number doesn’t correspond to a simple fraction (for example an irrational value like π truncated, or a random long decimal), there’s no neat answer. The tool gives the closest fraction within a sensible denominator limit and marks it “≈”.
Is anything I enter uploaded?
No. The conversion runs entirely in your browser; nothing you type is sent anywhere and analytics never receives it.
Related tools
Fraction to Decimal
Turn a fraction or mixed number into its decimal value, noting whether it terminates or repeats.
Math & education
Percentage to Fraction
Convert a percentage to its simplest fraction — e.g. 25% becomes 1/4. Runs in your browser.
Math & education
Fraction Simplifier
Reduce a fraction to its lowest terms, showing the divisor, mixed number and decimal.
Math & education
Number Base Converter
Convert whole numbers between binary, octal, decimal and hexadecimal at once. BigInt-precise, in your browser.
Math & education
Roman Numeral Converter
Convert Roman numerals to numbers and back, for values from 1 to 3999. Auto-detects the direction. Runs in your browser.
Math & education
Prime Number Checker
Check whether a number is prime, with its prime factorisation and the nearest primes. Runs in your browser.
Math & education