Free Algebra Solver
Decimal to fraction

Decimal to Fraction Calculator

Type a decimal such as 0.75 or 2.125. For repeating decimals, put the repeating part in brackets: 0.(3) means 0.333…

Interpreted as: 0.75 (Decimal → fraction) Ready
Examples
Solution

Worked example: 0.75

Worked example. Edit the problem above and press Decimal → fraction to solve your own.

Problem0.75
  1. Write the decimal over a power of 10

    Count the digits after the decimal point: 2. Put the digits over 1 followed by that many zeros.

    0.75 = 75/100
    2 decimal places

    Each decimal place is a power of ten, so the value does not change.

  2. Reduce to lowest terms

    Divide the numerator and denominator by their greatest common factor, 25.

    GCF(75, 100) = 25
    Greatest common factor
    3/4
    Simplified fraction

    Dividing the top and bottom by the same number keeps the fraction equal.

  3. Check by dividing

    Divide the numerator by the denominator to get the decimal back.

    3 ÷ 4 = 0.75
    Division check

    Returning to the starting decimal confirms the conversion.

Answer3/4

Decimal to fraction

How the decimal to fraction calculator works

The decimal to fraction calculator turns any terminating or repeating decimal into a fraction in lowest terms. Enter 0.75 and you get 3/4, or enter 0.(3) and you get 1/3.

How do you convert a decimal to a fraction?

To convert a decimal to a fraction, write the digits over a power of 10 that matches the number of decimal places, then simplify. For 0.75, there are two places, so write 75/100. The GCF of 75 and 100 is 25, and dividing both by 25 gives 3/4.

How do you convert a decimal to a fraction by hand?

Count the digits after the decimal point, put the number over 10, 100, 1000, and so on, then reduce. One decimal place means tenths, two means hundredths, three means thousandths.

The number of zeros in the denominator always matches the number of decimal places. That rule keeps you from writing 0.75 as 75/10 by accident.

  1. Count decimal places: 0.75 has two.
  2. Write it over 100: 75/100.
  3. Divide top and bottom by the GCF, 25: 3/4.

Small decimals follow the same rule. 0.08 is 8/100, and dividing by 4 gives 2/25. And 0.6 is 6/10, which reduces to 3/5.

To convert a decimal to a fraction quickly, say it out loud using place value. 0.75 reads as seventy-five hundredths, and that wording tells you to write 75/100.

What about decimals greater than 1?

Treat the whole number and the decimal part together, or convert just the decimal part and keep the whole number in front. Both routes give the same answer.

With 2.125, the decimal part 0.125 is 1/8, so the whole thing is 2 1/8. Or you can write all of it over 1000 and simplify, as shown below.

Write over 1000
2.125 = 2125/1000
Divide by 125
2125/1000 = 17/8
Mixed number
17/8 = 2 1/8

The calculator shows both forms, so 1.5 comes back as 3/2 = 1 1/2. Use whichever your teacher asks for. Improper fractions are usually easier if you plan to multiply or divide next, while mixed numbers are easier to picture in a measurement.

How do you enter a repeating decimal?

Put the repeating digits in parentheses. Type 0.(3) for 0.333… and 0.1(6) for 0.1666…, where only the 6 repeats.

Digits before the parentheses appear once, and digits inside them repeat forever. In a textbook you'll usually see a bar drawn over the repeating digits instead, and the parentheses are just a way to type that bar.

This matters because 0.333 and 0.(3) are different numbers. Without parentheses, the repeating decimal to fraction calculator treats 0.333 as exact. It returns 333/1000, which is close to 1/3 but not equal to it.

DecimalType thisFraction
0.333…0.(3)1/3
0.1666…0.1(6)1/6
0.2727…0.(27)3/11
1.333…1.(3)4/3 = 1 1/3
0.142857142857…0.(142857)1/7

How do you convert a repeating decimal to a fraction?

Set the decimal equal to x, multiply by a power of 10 that shifts one full repeating block, and subtract to cancel the repeating part. What's left is a simple equation you can solve for x.

The subtraction is the clever part. Both numbers have the same endless tail of digits after the decimal point, so the tails cancel exactly and leave a whole number.

Let
x = 0.333…
Multiply by 10
10x = 3.333…
Subtract
10x − x = 3, so 9x = 3
Solve
x = 3/9 = 1/3

The power of 10 depends on how long the repeating block is, not on how many digits you can see. Use 10 when one digit repeats, 100 when two digits repeat, and so on. For 0.(27), you would multiply by 100, subtract, and get 99x = 27, so x = 27/99 = 3/11.

What if the repeat starts later, like 0.1666…?

Use two multiplications: one to move the decimal past the non-repeating digits, and one to move it past the first repeating block. Then subtract those two.

Let
x = 0.1666…
Multiply by 10
10x = 1.666…
Multiply by 100
100x = 16.666…
Subtract
100x − 10x = 15, so 90x = 15
Solve
x = 15/90 = 1/6

The calculator follows this same idea when you type 0.1(6). A longer case such as 0.12(3) comes out as 37/300.

Which decimals and fractions should you know by heart?

A handful of conversions come up constantly in homework, recipes, and measurements. Knowing them saves time and helps you spot a wrong answer. If a calculator result doesn't match one of these, check how the number was typed before trusting it.

DecimalFraction
0.51/2
0.251/4
0.753/4
0.21/5
0.1251/8
0.(3)1/3
0.(6)2/3

Many others build from these. 0.375 is three times 0.125, so it equals 3/8. And 3.4 is 3 plus 0.4, which the calculator gives as 17/5 = 3 2/5.

How can you check a decimal to fraction answer?

Divide the numerator by the denominator and see if you get the decimal back. If 3/4 is right, 3 ÷ 4 should give 0.75, and it does.

For repeating decimals, the same check works with long division. 3 ÷ 11 gives 0.2727…, which confirms 0.(27) = 3/11. The fraction to decimal calculator runs this division and marks the repeating digits, so it pairs well with this page. One surprising result: 0.(9) comes out as exactly 1, because 0.999… and 1 are the same number.

What are common mistakes when converting decimals?

The biggest one is forgetting to simplify. 75/100 is correct but not finished, since most teachers and answer keys expect 3/4. Another is using the wrong power of 10, such as writing 0.08 as 8/10 instead of 8/100.

With repeating decimals, people often round first and then convert, which gives a fraction that is only close. Keep the repeat exact by using parentheses. Another slip is putting too many digits inside them: 0.1(6) and 0.(16) are different numbers. Also check the sign, since −0.25 converts to −1/4.

Frequently asked questions

Short answers to the questions people ask most about this topic.

What is 0.75 as a fraction?

0.75 is 75/100, which simplifies to 3/4. Both numbers share a factor of 25.

What is 0.333… as a fraction?

It is exactly 1/3. Type it as 0.(3) so the calculator knows the 3 repeats forever.

How do you convert 2.125 to a fraction?

Write 2.125 as 2125/1000 and divide both parts by 125 to get 17/8. As a mixed number, that is 2 1/8.

How do I type a repeating decimal into the calculator?

Put only the repeating digits in parentheses. 0.1(6) means 0.1666…, and 0.(27) means 0.272727….

Is 0.333 the same as 1/3?

No. 0.333 stops after three digits, so it equals 333/1000. Only the repeating decimal 0.333… equals 1/3.

What is 0.125 as a fraction?

0.125 is 125/1000, and dividing both by 125 gives 1/8. It is one of the most common decimals in measurements.

Why does the calculator give an improper fraction?

For decimals greater than 1, the fraction form has a numerator bigger than the denominator, like 17/8. The calculator shows the mixed number next to it, so 17/8 also appears as 2 1/8.

Can every decimal be written as a fraction?

Every decimal that ends or repeats can be written as a fraction. Decimals that go on forever without a repeating pattern, such as the digits of π, cannot.

Math keypad

Decimal → fraction mode

Use the keypad below or tap the expression to use your phone keyboard.

Keyboard tips

Ctrl + Enter
Run the selected operation
^
Enter a power, such as x^2
sqrt(
Calculate an exact or simplified square root
a:b
Separate quantities in a ratio
12, 18
Separate integers in an LCM and GCD calculation
@ x =
Assign x when evaluating an expression
y =
Enter a polynomial function to graph
|
Wrap an absolute-value expression