Decimal to Fraction Calculator
Enter a decimal to write it as a simplified fraction and mixed number, or enter a fraction to see its decimal form.
Result
- As a mixed number
- 5/8
- Before simplifying
- 625/1,000
- Percent
- 62.5%
- Nearest sixteenth
- 5/8
Formula
- Write the decimal over a power of ten: 0.625 = 625/1000
- Divide top and bottom by their greatest common factor
- Fraction to decimal: divide the numerator by the denominator
How the Decimal to Fraction Calculator works
A terminating decimal is a fraction whose denominator is a power of ten. Count the digits after the decimal point, write the digits over 1 followed by that many zeros, and simplify.
A fraction gives a terminating decimal only when its simplified denominator has no prime factors other than 2 and 5. Otherwise the decimal repeats, as 1/3 = 0.333… does.
Worked example
0.625 has three decimal places, so it is 625/1000. The greatest common factor is 125, giving 5/8.
Frequently asked questions
What is 0.75 as a fraction?
0.75 = 75/100 = 3/4.
What is 0.333 as a fraction?
Exactly, 0.333 is 333/1000. The repeating decimal 0.333… with threes forever is 1/3.
How do I convert a decimal to inches on a tape measure?
Multiply the decimal part by 16 and round to get sixteenths. 0.625 × 16 = 10, so it is 10/16, or 5/8 inch.
Related calculators
- Fraction CalculatorAdd, subtract, multiply and divide fractions and mixed numbers. The answer is simplified and shown as a fraction, a mixed number and a decimal.
- Simplify Fractions CalculatorReduce a fraction to its lowest terms and convert an improper fraction to a mixed number, with the greatest common factor used.
- Rounding CalculatorRound a number to the nearest whole number, tenth, hundredth, thousandth, ten, hundred or thousand. Exact decimal rounding with no floating point errors.
- Percentage CalculatorSolve the three basic percentage problems: what is X percent of Y, X is what percent of Y, and X is Y percent of what number.
- Ratio CalculatorSimplify a ratio, solve for a missing value in A : B = C : D, or split a total in a given ratio. Works with whole numbers and decimals.
- Proportion CalculatorSolve a proportion a/b = c/d for the missing value by cross-multiplication. Enter any three of the four numbers.
- Factor CalculatorFind all factors of a number, its factor pairs and its prime factorization. Also tells you whether the number is prime.
- GCF Calculator (Greatest Common Factor)Find the greatest common factor of two or more numbers, with the Euclidean algorithm steps and prime factorizations. Also gives the LCM.
- LCM Calculator (Least Common Multiple)Find the least common multiple of two or more numbers, with prime factorizations. Also gives the greatest common factor.
- Significant Figures CalculatorCount the significant figures in a number and round it to any number of significant figures, with scientific notation.
- Modulo CalculatorCalculate a mod n, the remainder after division, with the quotient. Handles negative numbers under both the mathematical and programming conventions.
- Long Division CalculatorDivide whole numbers and see every step of the long division, with the quotient, remainder, mixed number and decimal answer.
Related unit converters
Calculations run in your browser and nothing you enter is sent to a server. Results are provided for general information. Check critical figures independently before relying on them.