Decimal to Fraction Calculator
Convert decimal numbers into simplified fractions, mixed numbers, and percentage equivalents with clear calculation steps.
Results
A Decimal to Fraction Calculator converts a decimal into an equivalent fraction and reduces the result to lowest terms.
For terminating decimals, the conversion comes directly from place value. For repeating decimals, the calculation requires a different method because the repeating digits continue indefinitely.
The calculator is useful for measurements, ratios, classroom work, conversions, and situations where an exact fraction is easier to use than a decimal approximation.
Enter the decimal exactly as known, identify repeating digits when supported, and remember that a rounded decimal cannot reveal precision that was never entered.
Terminating decimals come from place value
A terminating decimal has a finite number of digits after the decimal point.
Examples include:
0.5
0.375
1.25
and:
2.045
To convert one into a fraction, write the decimal digits as an integer over the appropriate power of ten.
If there is:
1 decimal place → denominator 10
2 decimal places → denominator 100
3 decimal places → denominator 1,000
and so on.
Then simplify the fraction.
The general rule
If a terminating decimal has:
n digits after the decimal point
then it can be written as:
Integer formed from the digits ÷ 10ⁿ
For example:
0.375
has three decimal places.
So:
0.375 = 375/1000
Now reduce by the greatest common factor.
The greatest common factor of:
375 and 1000
is:
125
Therefore:
375 ÷ 125 = 3
and:
1000 ÷ 125 = 8
So:
0.375 = 3/8
How to use the Decimal to Fraction Calculator
- Enter the decimal value.
- Include all known decimal digits.
- Identify a repeating block if the calculator supports repeating decimals.
- Convert the decimal into an initial fraction.
- Reduce the numerator and denominator.
- Review the simplified fraction.
- Convert an improper result into a mixed number when useful.
Do not shorten or round the decimal before conversion unless that is intentional.
A simple example
Convert:
0.5
to a fraction.
There is one decimal place, so:
0.5 = 5/10
Reduce by 5:
5 ÷ 5 = 1
10 ÷ 5 = 2
Therefore:
0.5 = 1/2
A two-decimal example
Convert:
0.75
There are two decimal places.
So:
0.75 = 75/100
Reduce by 25:
75 ÷ 25 = 3
100 ÷ 25 = 4
Therefore:
0.75 = 3/4
A three-decimal example
Convert:
0.625
There are three decimal places.
So:
0.625 = 625/1000
Reduce by 125:
625 ÷ 125 = 5
1000 ÷ 125 = 8
Therefore:
0.625 = 5/8
A decimal greater than 1
Consider:
2.045
There are three decimal places.
Remove the decimal point:
2045
and place it over:
1000
So:
2.045 = 2045/1000
The greatest common factor is:
5
Reduce:
2045 ÷ 5 = 409
1000 ÷ 5 = 200
Therefore:
2.045 = 409/200
As a mixed number:
409/200 = 2 9/200
Both forms are correct.
Leading zeros after the decimal point matter
Consider:
0.005
This is not:
5/100
It has three decimal places.
So:
0.005 = 5/1000
Reduce:
5/1000 = 1/200
The zeros establish the place value of the 5.
Dropping them changes the number.
Another leading-zero example
Compare:
0.5 = 1/2
with:
0.05 = 1/20
and:
0.005 = 1/200
Each extra zero moves the digit one place farther to the right and changes the denominator accordingly.
Trailing zeros do not change the value
These decimals are equal:
0.5
0.50
0.500
Their initial fractions look different:
5/10
50/100
500/1000
but they all reduce to:
1/2
Trailing zeros can show written precision in some contexts, but they do not change the numerical value.
The initial denominator comes from the last decimal place
A quick reference:
| Decimal form | Initial denominator |
|---|---|
| 0.3 | 10 |
| 0.25 | 100 |
| 0.125 | 1,000 |
| 0.0625 | 10,000 |
The numerator is formed from the decimal digits after accounting for the whole-number part.
Then simplify.
Negative decimals work the same way
Consider:
−0.75
First convert the magnitude:
0.75 = 75/100 = 3/4
Then keep one negative sign:
−0.75 = −3/4
You could write:
−3/4
or:
3/−4
but the standard form is usually:
−3/4
Keep the denominator positive when possible.
Negative decimals greater than 1
Consider:
−2.5
Convert the magnitude:
2.5 = 25/10 = 5/2
Then apply the negative sign:
−2.5 = −5/2
As a mixed number:
−2 1/2
The negative sign applies to the entire value.
Repeating decimals need a different method
A repeating decimal does not terminate.
For example:
0.333333…
continues indefinitely.
You cannot write the full decimal as an integer over:
10
100
or:
1000
because the digits never stop.
Instead, algebra is used to eliminate the repeating part.
Converting 0.333… to a fraction
Let:
x = 0.333333…
The repeating block contains one digit, so multiply by:
10
Then:
10x = 3.333333…
Subtract the original equation:
10x − x = 3.333333… − 0.333333…
The repeating decimals cancel:
9x = 3
So:
x = 3/9
Reduce:
x = 1/3
Therefore:
0.333333… = 1/3
Converting a two-digit repeat
Consider:
0.272727…
Let:
x = 0.272727…
The repeating block is:
27
which has two digits.
Multiply by:
100
100x = 27.272727…
Now subtract:
100x − x = 27.272727… − 0.272727…
So:
99x = 27
Then:
x = 27/99
Reduce by 9:
27/99 = 3/11
Therefore:
0.272727… = 3/11
Why the multiplier depends on the repeat length
If one digit repeats, multiply by:
10
If two digits repeat, multiply by:
100
If three digits repeat, multiply by:
1000
The goal is to shift exactly one complete repeating block to the left of the decimal point.
Then subtraction removes the identical repeating tails.
Another repeating example
Consider:
0.454545…
Let:
x = 0.454545…
The repeat is two digits, so:
100x = 45.454545…
Subtract:
100x − x = 45
So:
99x = 45
Then:
x = 45/99
Reduce by 9:
45/99 = 5/11
Therefore:
0.454545… = 5/11
A decimal with a nonrepeating prefix
Some decimals contain digits that do not repeat before the repeating block begins.
For example:
0.166666…
The 1 does not repeat, while the 6 does.
Let:
x = 0.166666…
First shift past the nonrepeating digit:
10x = 1.666666…
Now shift one repeating digit farther:
100x = 16.666666…
Subtract:
100x − 10x = 16.666666… − 1.666666…
So:
90x = 15
Then:
x = 15/90
Reduce:
x = 1/6
Therefore:
0.166666… = 1/6
Repeating notation matters
There is an important difference between:
0.333
and:
0.333333…
The first is a terminating decimal:
0.333 = 333/1000
The second is an infinitely repeating decimal:
0.333333… = 1/3
These values are close but not equal.
The calculator must know whether the digits terminate or repeat.
0.33 is not exactly 1/3
Consider:
0.33
There are two decimal places.
Therefore:
0.33 = 33/100
But:
1/3 = 0.333333…
So:
0.33 ≠ 1/3
The difference is:
1/3 − 33/100
which is small, but it is not zero.
Never replace a short decimal with a familiar fraction unless the values are actually equivalent.
Rounded decimals cannot reveal the original exact fraction
Suppose a display shows:
0.67
That value converts exactly to:
67/100
But the original quantity might have been:
2/3 ≈ 0.666666…
rounded to two decimal places.
Or it could genuinely have been:
67/100
The displayed value alone cannot tell you which is true.
The calculator can convert what was entered.
It cannot reconstruct unknown digits that were rounded away.
Exact conversion and approximate reconstruction are different tasks
If you enter:
0.142857
the exact fraction represented by those six decimal places is:
142857/1000000
That is different from the repeating decimal:
0.142857142857…
which equals:
1/7
If the tool includes a tolerance or repeating-pattern feature, it may help recognize approximate familiar fractions.
But that is a different operation from converting the exact entered decimal.
Measured decimals may already contain uncertainty
Suppose a length is recorded as:
1.27 m
and the measurement was rounded to the nearest:
0.01 m
Mathematically:
1.27 = 127/100
But the physical measurement may actually represent a range of possible true values near 1.27 m.
Writing:
127/100 m
does not make the measurement exact.
In engineering and scientific work, preserve the stated measurement precision and uncertainty.
Place value explains the conversion
Consider:
0.375
This means:
3 tenths + 7 hundredths + 5 thousandths
or:
300/1000 + 70/1000 + 5/1000
which gives:
375/1000
That is why powers of ten appear naturally in terminating-decimal conversions.
Whole and decimal parts can be handled together
Consider:
3.125
Move the decimal point three places:
3125
So:
3.125 = 3125/1000
Reduce by:
125
Then:
3125 ÷ 125 = 25
1000 ÷ 125 = 8
So:
3.125 = 25/8
As a mixed number:
3 1/8
Scientific notation can also be converted
Suppose the value is:
3.2 × 10⁻³
Move the decimal three places to the left:
0.0032
Now convert:
0.0032 = 32/10000
Reduce:
32/10000 = 4/1250 = 2/625
Therefore:
3.2 × 10⁻³ = 2/625
The power of ten should be interpreted correctly before fraction reduction.
Positive powers of ten work too
Consider:
1.25 × 10²
This equals:
125
As a fraction:
125/1
Scientific notation does not require a separate fraction rule once the value has been interpreted.
Reduce the final fraction whenever possible
Suppose the initial result is:
150/1000
Both numbers are divisible by:
50
So:
150 ÷ 50 = 3
and:
1000 ÷ 50 = 20
Therefore:
150/1000 = 3/20
A fraction is usually easiest to read in lowest terms.
The greatest common factor controls simplification
For:
625/1000
the greatest common factor is:
125
Divide:
625 ÷ 125 = 5
1000 ÷ 125 = 8
So:
625/1000 = 5/8
The calculator can determine this factor automatically.
Check the fraction by dividing
A useful verification is to divide:
numerator ÷ denominator
For example:
3 ÷ 8 = 0.375
So:
3/8
reproduces the original decimal exactly.
For a repeating fraction:
1 ÷ 3 = 0.333333…
which reproduces the repeating pattern.
Improper fractions can be converted to mixed numbers
Suppose:
2.75
becomes:
275/100
Reduce:
275/100 = 11/4
The improper fraction is:
11/4
Convert to a mixed number:
11 ÷ 4 = 2 remainder 3
So:
11/4 = 2 3/4
Both forms represent:
2.75
Keep improper fractions when further calculation follows
If you plan to multiply, divide, or use the result in algebra, an improper fraction such as:
11/4
is often easier to work with than:
2 3/4
For everyday reporting, the mixed form may be easier to read.
Choose the form based on what happens next.
Common decimal-to-fraction mistakes to avoid
Using the wrong power of ten
0.375
has three decimal places, so the denominator begins as:
1000
not:
100
Dropping leading zeros
0.005
is:
5/1000
not:
5/100
Assuming a short decimal is a familiar fraction
0.33
is exactly:
33/100
not exactly:
1/3
Treating rounded input as exact original data
The calculator can only convert the value entered.
Forgetting to reduce
50/100
should normally be simplified to:
1/2
Treating a repeating decimal as terminating
0.333…
requires the repeating-decimal method.
Moving the negative sign incorrectly
Keep one negative sign on the simplified result.
Quick conversion examples
| Decimal | Reduced fraction |
|---|---|
| 0.1 | 1/10 |
| 0.2 | 1/5 |
| 0.25 | 1/4 |
| 0.375 | 3/8 |
| 0.5 | 1/2 |
| 0.625 | 5/8 |
| 0.75 | 3/4 |
| 0.875 | 7/8 |
| 1.25 | 5/4 or 1 1/4 |
| 2.5 | 5/2 or 2 1/2 |
These examples are terminating decimals.
Repeating decimals require their repeating pattern to be identified.
When to use another calculator
Use the Fraction to Decimal Calculator when you want to convert a fraction in the opposite direction.
Use the Mixed Number Calculator for arithmetic involving values such as:
2 1/4
or:
5 3/8
For everyday decimal arithmetic, percentages, and grouped expressions, use the Basic Calculator.
FAQ
Is 0.5 equal to 1/2?
Yes.
0.5 = 5/10
and:
5/10 = 1/2
How do I convert a decimal to a fraction?
Write the decimal as an integer over the appropriate power of ten, then reduce.
For example:
0.375 = 375/1000 = 3/8
Why does 0.333 become 333/1000?
Because the entered value has three decimal places and terminates there.
So:
0.333 = 333/1000
It is not the same as:
0.333333… = 1/3
Can a negative decimal be converted?
Yes.
Convert the magnitude, reduce it, and keep one negative sign.
For example:
−0.75 = −3/4
How do I convert a decimal greater than 1?
Use the same place-value method.
For example:
2.5 = 25/10 = 5/2 = 2 1/2
What is a repeating decimal?
It is a decimal where one digit or block of digits continues forever.
For example:
0.272727…
repeats the block:
27
How do repeating decimals become fractions?
Use algebra to shift and subtract the repeating part.
For example:
x = 0.272727…
100x = 27.272727…
Subtract:
99x = 27
So:
x = 3/11
Is 0.33 the same as 1/3?
No.
0.33 = 33/100
while:
1/3 = 0.333333…
What if my decimal came from a rounded measurement?
The resulting fraction represents the entered rounded value.
It does not recover any unknown precision from the original measurement.
Can scientific notation be converted?
Yes.
Interpret the power of ten first, then convert the resulting decimal or integer into fraction form.
Should I keep the result as an improper fraction?
You can.
Improper fractions are often useful for further calculations.
A mixed number may be easier to read in everyday contexts.
How can I check the answer?
Divide the numerator by the denominator.
The result should reproduce the original terminating decimal or repeating pattern.
Mathematics reference
For additional explanations and worked examples involving decimals, fractions, place value, and arithmetic, see:
Convert only the precision you actually have
A Decimal to Fraction Calculator can convert an entered decimal into an exact fraction representing that entered value.
For terminating decimals, place value determines the initial denominator.
For repeating decimals, algebra removes the repeating block.
Afterward, the fraction is reduced to lowest terms.
The important limitation is that the calculator cannot recover digits that were rounded away before the value was entered.
If the source decimal is approximate, the fraction describes that approximation—not an unknown exact original value.
