Turn decimals into reduced fractions and fractions into decimals. Repeating decimals (0.(3)) and mixed numbers included.
No sign-up, no fees.
Turn a decimal into a reduced fraction.
Turn a fraction into a decimal; shows the mixed number too.
Repeating decimals: 0.(3) or 1.2(34).
A comma or a point both work.
What you type is processed, but never shared with anyone.
How to use the Decimal to Fraction Converter
Did an exam say "write 0.375 as a fraction"? There are two directions:
Decimal to fraction
Pick the Decimal to fraction tab.
Type 0.75 in the Decimal number box; 3/4 comes out.
Write the repeating part in parentheses: 0.(3) or 1.2(34).
Fraction to decimal
Pick the Fraction to decimal tab.
Type the numbers in the Numerator and Denominator boxes.
The decimal equivalent, the Reduced form and, if any, the Mixed number come out.
What is converting a decimal to a fraction?
A decimal number (0.75) and a fraction (3/4) are different ways of writing the same value. In math classes, in recipe measures (1/4 cup instead of 0.25 cup), and in construction and sewing measures you need to switch between the two. To convert a decimal to a fraction, the number is divided by a power of 10 and reduced: 0.75 = 75/100 = 3/4. To convert a fraction to a decimal, the numerator is divided by the denominator.
Repeating decimals
Some fractions never end: 1/3 = 0.333… We write this as 0.(3); what's inside the parentheses is the repeating part. The tool knows this in both directions:
If you type 0.(3), 1/3 comes out.
If you type 1.2(34), 611/495 comes out.
If you convert 22/7, 3.(142857) comes out.
If you type 0.(9), the result is 1/1. Yes, 0.999… is exactly equal to 1.
Mixed numbers
When the numerator is bigger than the denominator, the mixed number is shown too: 7/3 = 2 and 1/3. For negative numbers the sign stays on the whole part.
Limits
The decimal expansion can be up to 200 digits. For a fraction with a very long repeat (for example a large prime denominator), if the repeat is too long to show, we say so.
Tips for reducing fractions and repeating numbers
To reduce a fraction by hand, divide the numerator and denominator by the GCD: the GCD of 50/100 is 50, and the result is 1/2. If you find the GCD hard, the GCD / LCM tool shows factors and steps.
Recipe measures: 0.333 cup is about 1/3 cup; if you type 0.(3), the exact result comes out.
Link with percentages: 0.25 = 25% = 1/4. For percentages there's Percentage calculator.
In exams: when converting a repeating number to a fraction, use this to check your answer.
Common mistakes
Thinking 0.333 is 1/3: 0.333 is exactly 333/1000; for 1/3 type 0.(3).
Mixing up the decimal mark: both a comma and a point are accepted; just don't confuse it with a thousands separator.
The calculation happens in your browser. What you type is processed, but never shared with anyone.
Should I write a comma or a point?
Either works. 0,75 and 0.75 are read the same.
Can I type an unreduced fraction?
Yes. If you type 50/100, it's reduced to 1/2.
What fraction is 0.5?
1/2.
Which fraction is 0.25?
1/4.
How is a repeating decimal written?
Put the repeating part in parentheses: for 0.666… type 0.(6).
Can I use it on my phone?
Yes. Type the number; the fraction shows right below.
Where are decimals and fractions useful?
In shopping for discount rates (0.2 = 1/5), in recipes for measures (0.75 cup = 3/4 cup), in tailoring for centimeter measures and in solving fraction questions in exams. A fraction is more exact, a decimal is quicker to calculate; that's why switching between them is often needed.
What do numerator and denominator mean?
The number above the fraction is the numerator and the number below is the denominator. In the fraction 3/4 the numerator is 3 and the denominator is 4. The denominator shows how many parts the whole is divided into; the numerator shows how many parts are taken.
Why do some fractions come out repeating?
If the denominator contains only the prime factors 2 and 5, the decimal expansion ends (1/8 = 0.125). If it has other prime factors (like 3, 7, 11), the digits repeat forever.
What if the result doesn't come out reduced?
The tool always brings the fraction to its simplest form. If you have a different result, make sure you divided the numerator and denominator by their common divisor.