Skip to main content
math

Decimal to Fraction Calculator

Convert any terminating decimal number to its equivalent fraction in simplest form.

Reviewed by Chase FloiedUpdated

This free online decimal to fraction calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.

Enter a terminating decimal value

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Decimal to Fraction Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Decimal to Fraction Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Decimal to Fraction Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Decimal to Fraction Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
  • Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
  • Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
  • Use it to explore the behavior of mathematical functions across a range of inputs.

About This Calculator

The Decimal to Fraction Calculator is a free mathematical calculation tool for students, educators, and professionals who need quick, reliable results. Convert any terminating decimal number to its equivalent fraction in simplest form. The underlying algorithms implement well-established mathematical formulas and numerical methods. Results are computed instantly in the browser. This tool is useful for learning, verification of hand calculations, and rapid exploration of mathematical relationships. All computation happens locally — no data is sent to a server.

About Decimal to Fraction Calculator

Converting decimals to fractions is a practical skill used in measurement, engineering, and mathematics. Many quantities are more naturally expressed as fractions, such as drill-bit sizes, musical time signatures, and recipe measurements. This calculator takes any terminating decimal and converts it to its fractional equivalent in lowest terms. The process involves multiplying the decimal by the appropriate power of 10 to eliminate the decimal point, placing that number over the power of 10, and then simplifying by dividing both parts by their greatest common divisor. Understanding this conversion deepens your number sense and helps bridge the gap between the decimal notation used in science and technology and the fractional notation used in everyday life and pure mathematics.

The Math Behind It

Every terminating decimal can be expressed as a fraction with a power of 10 as the denominator. For example, 0.75 has two decimal places, so it equals 75/100. Simplifying by dividing both by the GCD (25) gives 3/4. The general method: count the number of decimal places n, multiply the decimal by 10^n to get the numerator, use 10^n as the denominator, and simplify. Repeating decimals require a different technique: let x equal the repeating decimal, multiply by the appropriate power of 10, subtract the original equation, and solve for x. For example, 0.333... = 1/3 because 10x - x = 3.333... - 0.333... = 3, so 9x = 3 and x = 1/3. Not all decimals can be expressed as fractions; irrational numbers like pi and the square root of 2 have non-repeating, non-terminating decimal expansions. A rational number is, by definition, any number that can be expressed as a fraction of two integers, and its decimal expansion either terminates or repeats. This equivalence between fractions and decimals is a fundamental result in number theory.

Formula Reference

Decimal to Fraction

0.abc = abc / 10^n (then simplify)

Variables: n = number of decimal places, abc = digits after the decimal point

Worked Examples

Example 1: Converting 0.375 to a fraction

Convert 0.375 to a fraction

Step 1:Count decimal places: 3
Step 2:Multiply by 10^3: 0.375 × 1000 = 375
Step 3:Place over 1000: 375/1000
Step 4:Find GCD(375, 1000) = 125
Step 5:Simplify: 375/1000 = 3/8

0.375 = 3/8

Example 2: Converting 0.6 to a fraction

Convert 0.6 to a fraction

Step 1:Count decimal places: 1
Step 2:Multiply by 10: 0.6 × 10 = 6
Step 3:Place over 10: 6/10
Step 4:Simplify: GCD(6, 10) = 2, so 6/10 = 3/5

0.6 = 3/5

Common Mistakes & Tips

  • !Forgetting to simplify the resulting fraction.
  • !Miscounting the number of decimal places.
  • !Trying to convert a non-terminating, non-repeating decimal (irrational number) to an exact fraction.
  • !Confusing the numerator and denominator when placing over the power of 10.

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

Can I convert repeating decimals?

Yes, but the method differs. You set up an equation like x = 0.333..., multiply both sides by 10, subtract, and solve. This calculator handles terminating decimals directly.

Is every decimal a fraction?

Only rational numbers (terminating or repeating decimals) can be expressed as exact fractions. Irrational numbers like pi cannot.

Why do I need to simplify?

Simplifying gives the fraction in its most compact and standard form, making it easier to compare and use in calculations.