Calcumia

Decimal to Fraction Calculator

Turn decimals into exact fractions instantly with our free online calculator. Whether you need to convert terminating values like 0.375 into 3/8 or mixed numbers like 2.5 into 2 ½, this tool simplifies the process immediately. It is designed for students, teachers, and professionals who need quick and accurate mathematical conversions without manual calculations.

Your inputs

Result

Fraction
—
Mixed number
—
Percent
—

Add this calculator to your site — free

Copy one of the snippets into your page. Please keep the attribution link visible.

How to use the Decimal to Fraction Calculator

  1. Navigate to the decimal to fraction calculator page.
  2. Locate the Decimal input field on the interface.
  3. Type or paste your desired decimal number into the box.
  4. View the instant results for Fraction, Mixed number, and Percent.

How it works

The fraction output represents the decimal in its most reduced form, while the mixed number shows the whole number alongside the remaining proper fraction. Additionally, the percent output multiplies the decimal value by 100, providing a complete numerical breakdown that is useful for academic assignments, cooking measurements, engineering blueprints, and everyday financial budgeting.

This calculator follows standard mathematical principles established in arithmetic and number theory. To convert a decimal manually, the digits are placed over a power of ten determined by the decimal place value, such as 375/1000, and then simplified by dividing both the numerator and denominator by their Greatest Common Factor (GCF). Advanced algorithms also handle recurring decimals accurately by recognizing repeating patterns.

While terminating decimals convert seamlessly, irrational numbers like pi cannot be expressed as simple fractions and will only yield approximations. When entering extremely long decimals with many digits, rounding may occur due to display constraints. For the best results, verify that your input matches the exact precision required for your specific application.

Formula

0.375 = 375/1000 = 3/8

Worked example

0.375 = 3/8 and 2.5 = 2 ½.

Decimal to Fraction Calculator: a closer look

Type a decimal such as 0.375 or 2.125 and get the equivalent fraction in lowest terms, the mixed-number form and the percentage. It is handy for recipes, woodworking measurements, homework and anywhere a decimal needs to become a fraction.

How the calculation works

By hand: write the decimal over a power of ten with as many zeros as it has decimal places, then divide top and bottom by their greatest common factor. So 0.375 = 375/1000 = 3/8. The calculator does this with a continued-fraction search that finds the simplest fraction matching the number to about ten decimal places, so values such as 0.333333333333 come out as 1/3. A negative sign is kept, and values above 1 also appear as a mixed number.

0.375 = 375/1000 = 3/8        2.125 = 2125/1000 = 17/8 = 2 1/8

Worked example 1: A terminating decimal

0.375 becomes 375/1000. The greatest common factor of 375 and 1000 is 125, so dividing both by 125 gives 3/8. As a percentage that is 37.5%.

Worked example 2: A value above one

2.125 = 2125/1000 = 17/8 in lowest terms, which is the mixed number 2 1/8. In a workshop that is 2 1/8 inches; 1.75 would be 1 3/4 and 0.0625 would be 1/16.

Related calculators and converters

Frequently asked questions

How do I convert a decimal by hand?+

Write the decimal over a power of ten, such as 375/1000 for 0.375, and then divide both the top and bottom numbers by their Greatest Common Factor, which is 125, to get 3/8.

Are all decimals convertible to fractions?+

Terminating decimals and repeating decimals can always be converted into exact fractions. However, irrational numbers like pi cannot be expressed as simple fractions.

How does the calculator handle repeating decimals?+

The converter uses advanced mathematical algorithms like continued fractions to recognize repeating patterns, turning inputs like 0.3333 into the exact fraction 1/3 instead of a complex fraction.

What is the difference between a fraction and a mixed number?+

A fraction can be a proper or improper fraction where the numerator is greater than the denominator. A mixed number combines a whole number with a proper fraction, such as 2 ½.

Is this decimal to fraction calculator free to use?+

Yes, this tool is completely free with no registration required. You can perform as many conversions as you need instantly from any device.

How do I convert a repeating decimal such as 0.333… to a fraction?+

Let x = 0.333…; then 10x = 3.333…, so 9x = 3 and x = 1/3. Typing enough 3s into the calculator (for example 0.333333333333) returns 1/3 because it looks for the simplest fraction within a tiny tolerance.

Why does the calculator not always show the exact fraction I expect?+

A decimal typed with only a few digits could match several fractions. For instance 0.33 is exactly 33/100, but 0.3333333333 is treated as 1/3. Type the digits you actually mean.

How do I turn a fraction into a decimal?+

Divide the numerator by the denominator: 3 ÷ 8 = 0.375. A fraction's decimal terminates only if its denominator, in lowest terms, has no prime factors other than 2 and 5.

✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators

Results are estimates for information only and are not financial, medical or legal advice.