Skip to content

Decimal to Fraction Calculator

This calculator converts terminating and recurring decimals to fractions in simplest form. It supports common decimal formats, including repeating decimals such as 0.333..., 0.(3), 0.1(6), or 2.(27).

Enter a terminating decimal normally. For a recurring decimal, use ... or put the repeating digit(s) in parentheses.
Try an example:

Step-by-Step Solution

How to Use the Decimal to Fraction Calculator

Use this calculator to convert any terminating or recurring decimal into a fraction.

To use the calculator:

  1. Enter the decimal number in the input box.
  2. Click Convert.

The calculator will instantly return the equivalent fraction in its simplest form. It also provides a clear, step-by-step solution, showing you exactly how the conversion was done.

You can switch between Simplified steps and Detailed explanation. Simplified steps show the main calculation only, while the detailed option explains what is happening at each stage. You can also click Copy steps to copy the solution currently displayed and use it in your homework or assignment.

Need to convert a fraction to a decimal instead? Use the fraction to decimal calculator.

How to Enter a Terminating or Recurring Decimal

How you enter the decimal depends on whether it is terminating or recurring. If working with a terminating decimal such as 0.25, 0.875, 1.5, 2.75, etc., simply enter it as written.

However, for a recurring decimal, such as 0.3…, 0.1616…, 0.7…, etc., you need to tell the calculator which digit or group of digits repeats indefinitely.

You can do this in two ways. The first option is to type the repeating pattern followed by three dots.

For example:

  • Enter 0.333… for 0.333333…
  • Enter 0.666… for 0.666666…
  • Enter 0.272727… for 0.272727272727…

Alternatively, you can place the repeating digit or digits inside parentheses.

For example:

  • 0.(3) means 0.333333…
  • 0.(6) means 0.666666…
  • 0.(27) means 0.272727…
  • 2.(27) means 2.272727…

Parentheses are especially useful when only part of the decimal repeats. For example, enter 0.1(6) for 0.166666…. In this case, 1 does not repeat, while 6 repeats indefinitely. Similarly, 0.12(3) represents 0.123333…, where 12 is the non-repeating part, and 3 is the recurring digit.

Make sure that only the digits that repeat are placed inside the parentheses. For example, 0.1(6) and 0.(16) represent different decimals:

  • 0.1(6) = 0.166666…
  • 0.(16) = 0.161616…

You can use either notation for recurring decimals, but parentheses are usually clearer when the decimal contains both non-repeating and repeating digits.

Tip. If the repeating pattern is unclear, always use parentheses to specify exactly which digits repeat.

Common Decimal to Fraction Equivalents

Here are some common decimal-to-fraction conversions you can check using the calculator.

DecimalFraction in simplest form
0.06251/16
0.125 (.125)1/8
0.21/5
0.25 (.25)1/4
0.375 (.375)3/8
0.42/5
0.51/2
0.63/5
0.625 (.625)5/8
0.75 (.75)3/4
0.84/5
0.875 (.875)7/8
1.255/4
1.53/2
2.55/2
3.57/2

If working with any other decimal not included in the above table, simply enter it in the input field and click convert to get instant results with a clear, step-by-step solution.

Want to learn more about how to convert decimals to fractions manually? See the complete guide on converting decimals to fractions.

Frequently Asked Questions

What is a decimal to fraction calculator?

A decimal to fraction calculator converts a decimal number into an equivalent fraction. This calculator works with both terminating and recurring decimals and returns the fraction in simplest form.

Can this calculator convert repeating decimals to fractions?

Yes. You can convert recurring or repeating decimals by showing which digits repeat. For example, you can enter 0.333… or 0.(3) for 1/3. However, for decimals that have a non-repeating part before the recurring digits, parentheses are clearer. For example, enter 0.1(6) for 0.166666….

Are 0.333 and 0.333… the same?

No. 0.333 is a terminating decimal equal to 333/1000. On the other hand, 0.333… is a recurring decimal in which 3 continues forever. It is exactly equal to 1/3. This is why you should include the three dots or parentheses when entering a recurring decimal.

Can I enter decimals greater than 1?

Yes. You can enter values such as 1.5, 2.75, or 4.125. The calculator returns the equivalent fraction and, where appropriate, its mixed-number form.

Does the calculator simplify the fraction automatically?

Yes. The fraction is returned in simplest form. For example, although 0.75 can initially be represented as 75/100, the calculator simplifies the result to 3/4. However, if you want a custom tool for simplifying fractions, you may use the simplify fraction calculator.

Can I convert negative decimals?

Yes. Negative terminating and recurring decimals are supported. For example, -0.75 converts to -3/4, while -0.(6) converts to -2/3.

Cite this Calculator

Choose APA, MLA, Chicago, or Harvard, then copy the citation.

Joseph Mburu. (2026, December 3). Decimal to Fraction Calculator. Stat Study Hub. Retrieved December 4, 2026, from https://statstudyhub.com/decimal-to-fraction-calculator/

Joseph Mburu

About This Calculator

Statistician, Data Analyst & Editor
MSc Data Analytics · BSc Applied Statistics

Joseph is an experienced Statistician and Data Analyst with over six years of hands-on work in applied statistics, data science, and quantitative research. He holds advanced degrees in Applied Statistics and Data Analytics, reflecting strong technical and academic expertise. Joseph is the…