Decimal to Fraction Calculator
Convert a finite decimal to a reduced fraction with the decimal to fraction calculator. Digits are preserved as entered, so a value such as 0.1 remains exactly one tenth.
Check the highlighted fields.
Your numbers
Example inputs. Results update as you type.
Result
1/10
0.1 equals 1/10 exactly.
Decimal approximation (up to 12 places): 0.1
Decimal expansion: terminating.
No result. Check the fields marked below.
What to check next
- Does this fraction terminate or repeat as a decimal?
Read a fraction as a terminating or repeating decimal.
- What is the exact result of an operation on two fractions?
Add, subtract, multiply, or divide two fractions without converting them to rounded decimals.
How the calculation works
The place value determines the initial denominator. Trailing decimal zeros do not change the reduced value, because common powers of ten are removed during reduction.
Step-by-step solution
- Move the decimal point 1 place: 1 / 10
- GCD(1, 10) = 1
- Divide both by 1: 1/10
Examples
One decimal place — 1/10
0.1 equals 1/10 exactly.
- Finite decimal
- 0.1
- Move the decimal point 1 place: 1 / 10
- GCD(1, 10) = 1
- Divide both by 1: 1/10
Negative decimal — -1/8
-0.125 equals -1/8 exactly.
- Finite decimal
- -0.125
- Move the decimal point 3 places: -125 / 1000
- GCD(125, 1000) = 125
- Divide both by 125: -1/8
More than one whole — 11/4
2.75 equals 11/4 exactly.
- Finite decimal
- 2.75
- Move the decimal point 2 places: 275 / 100
- GCD(275, 100) = 25
- Divide both by 25: 11/4
Trailing zeros — 1/2
0.5000 equals 1/2 exactly.
- Finite decimal
- 0.5000
- Move the decimal point 4 places: 5000 / 10000
- GCD(5000, 10000) = 5000
- Divide both by 5000: 1/2
How this is calculated
Remove the decimal point to form an integer numerator; use 10 to the power of the decimal-place count as denominator, then reduce.
The fraction preserves every entered digit, including small finite decimals. A separate rounded display cannot alter that fraction. For instance, 0.1 is exactly one tenth.
GCD means greatest common divisor: the largest positive whole number that divides both integers without a remainder.
Reviewed
Questions
Does 0.1 become an exact tenth?
Yes. Each decimal place gives a power-of-ten denominator. One decimal place makes 0.1 exactly 1/10.
Can I enter a repeating decimal?
Not on this page. Inputs must be finite decimals. Use Fraction to Decimal to inspect repeating expansions of known fractions.
Do trailing zeros change the fraction?
No. They increase the initial numerator and denominator by the same factor, which is removed when the fraction is reduced.
Can I enter a negative decimal or a value above one?
Yes. Negative signs are retained in the numerator. An improper fraction and an optional mixed number are both exact.
The arithmetic is exact for the numbers entered; rounded decimals are approximations. Applying a result to measured or estimated quantities also carries their uncertainty. General mathematical information, not professional advice.
Calculation checks and limits
We tested the exact rational results under the stated conventions with checks every answer must pass and with worked examples. We did not compare it with a separate calculation or an outside program. Measurement uncertainty and the meaning of real-world inputs are not covered by these checks; they require context outside the mathematical model.