Definition
What decimal to fraction conversion means
Converting a decimal to a fraction expresses the same number as an integer numerator divided by a nonzero integer denominator. A finite decimal uses a power of ten before reduction, and a recurring decimal uses its repeating digit pattern.
- Finite decimal
- Starts with a power-of-ten denominator
- Recurring decimal
- Parentheses mark the repeating digits
- Lowest terms
- Cancel common factors from both parts
Start with the exact input
This conversion reads the digits as written, including trailing zeros and any fixed digits between the point and a repeating block. The input accepts a decimal point and an optional sign. Remove grouping separators or a percent sign before entering the value. For percentages, first express the percent as a decimal share if that is the quantity you want.
A short rounded display has limited information about what came before rounding. The fraction for that display is valid for the typed number. If you need to recover an intended simple fraction, get the original data or a known repeating pattern before converting.
Write a terminating decimal over a power of ten
Count the digits after the decimal point. Each position represents a tenth of the previous position, so the denominator is one followed by that many zeros. Remove the point to form the numerator, keeping the sign. Divide numerator and denominator by their greatest common divisor to finish.
Trailing zeros add places without changing the underlying value. They multiply the unreduced numerator and denominator by the same factor, which disappears when you simplify. An integer needs no decimal places, so its denominator starts at one.
Align and cancel repeating digits
For a repeating decimal, choose one shifted copy where the recurring tail begins just after the point. Make another copy that moves the point by the length of the repeat. Those copies have identical tails after the point, including any leading zeros in the cycle.
Subtract the first copy from the second. The recurring tails cancel exactly, leaving a whole number on the right and a multiple of the original decimal on the left. Divide to get a fraction. The steps work with the magnitude first and restore the sign before reducing.
Use the fraction or mixed number
The simplified fraction is convenient for exact arithmetic because it uses one signed numerator and one positive denominator. A mixed number makes the number of complete units easier to see. The remainder after dividing the numerator’s magnitude by the denominator is the numerator of the mixed number’s fractional part.
Choose the representation that fits your task. In a measurement with whole units plus an increment, the mixed form is often easier to communicate. In multiplication or division, the simplified improper fraction can be inserted directly without first converting a whole part.
Step-by-step example
Convert the terminating decimal 1.25 and the recurring decimal 0.1(6), where only the 6 repeats.
| Step | Result |
|---|---|
| 1.25 before reduction | 125/100 |
| 1.25 in lowest terms | 5/4 |
| 1.25 as a mixed number | 1 1/4 |
| 0.1(6) before reduction | 15/90 |
| 0.1(6) in lowest terms | 1/6 |
Formulas used
If the decimal has k places, remove the decimal point and use the signed digits as the numerator.
Use 10ᵏ as the denominator and reduce by the greatest common divisor.
- k
- number of decimal places
Example: 1.25 gives 125/100, which reduces to 5/4 or 1 1/4.
Let k count fixed decimal digits and r count recurring digits.
Denominator = 10ᵏ × (10ʳ − 1).
Numerator magnitude = integer formed by whole, fixed and repeating digits − integer formed by whole and fixed digits.
- k
- number of fixed decimal digits
- r
- number of digits in the repeating block
- x
- value of the decimal in the example
Example: For x = 0.1(6), 10x = 1.(6) and 100x = 16.(6). Subtract to obtain 90x = 15. The fraction reduces to 1/6.
When the answer can mislead
- A rounded decimal gives the exact fraction for the rounded value, which can differ from the original fraction.
- A zero inside a recurring block is part of its length and can affect the denominator.
- A minus sign on a mixed number applies to the whole quantity.
Questions
What is the difference between 0.333 and 0.(3)?
The first entry has three written decimal places and ends there. The second has an unlimited run of threes. When you copy a rounded display, check the context before adding parentheses. Parentheses assert that the enclosed digits repeat exactly and change the fraction being represented.
Where do I put a repeating block that starts late?
Type the whole part, the point and the fixed decimal digits first. Put only the recurring digits inside parentheses. In 0.1(6), the digit one occurs once and the digit six repeats thereafter. You can include a leading zero in the parentheses when it belongs to the cycle.
Can a decimal with repeating nines equal a whole number?
Yes. Repeating nines can give a second exact decimal representation of a terminating result. The algebra removes the recurring pattern and standard fraction reduction gives the same number as the terminating form. A finite string of nines has a different value because it stops short.
How is a negative mixed number written?
The minus sign denotes the negative of the whole quantity. The calculator divides the magnitude of the numerator by the positive denominator, then puts the negative sign in front of the result. For magnitudes below one, it prints a negative proper fraction without a separate whole part.
Does a longer repeat block change the result?
Writing the same cycle twice inside the parentheses represents the same infinite sequence. The unreduced numerator and denominator grow but still simplify to the same fraction. A misplaced digit or an omitted zero can change the sequence, so copy the intended repeating block carefully. A lead-in belongs before the opening parenthesis even if it shares digits with the cycle.
Embed this calculator
Cite this calculator
Decimal to Fraction Calculator. CalculatorLab. https://calculatorlab.site/calculators/decimal-to-fraction-calculator/. Last updated . Accessed .