Decimal to Fraction Calculator

Convert any decimal number to its exact reduced fraction — including mixed numbers and improper fractions. Free, instant, no signup.

Formula: fraction = numerator / denominator (reduced by GCD)

How to use the Decimal to Fraction Calculator

  1. Enter your values. Fill in the fields with your numbers.
  2. Calculate. Press Calculate to run the decimal to fraction calculator.
  3. Use the result. Copy the result or try a related tool next.

Why use our Decimal to Fraction Calculator

Instant results. Enter your figures and the decimal to fraction calculator returns an answer in seconds.
Free & private. Runs in your browser — no signup, and nothing is sent to a server.
Accurate. Uses standard formulas so you can rely on the numbers.

Free to use — premium coming soon

FREE
  • Unlimited calculations
  • Instant results
  • No signup
PREMIUM
  • Remove ads
  • Save & compare scenarios
  • Export results

About the Decimal to Fraction Calculator

The Decimal to Fraction Calculator takes any decimal number you enter, such as 0.625 or 2.4, and rewrites it as an exact fraction in its lowest terms. For a terminating decimal it places the digits after the point over the matching power of ten, so 0.625 starts life as 625/1000, then cancels down to 5/8. For a number greater than one it keeps the whole part and converts the fractional part, returning a tidy mixed number like 2 2/5. The point of the tool is to give you the precise fraction a calculator screen or a digital measurement hides behind a string of decimals.

Reach for it whenever a decimal needs to become a fraction you can actually use. Woodworkers, machinists and DIYers convert decimal inches from digital calipers (0.0625 in) back into the 1/16 and 1/32 marks printed on a tape measure. Students checking homework want to see 0.75 as 3/4 with the steps shown. Cooks scaling a recipe, sewers reading a pattern, and anyone reading a spec sheet all benefit from a fraction that is easier to measure than a decimal. Type the decimal, press Calculate, and you get the simplified fraction plus, where relevant, a mixed-number form.

Behind the result is straightforward arithmetic rather than guesswork. The tool counts the digits after the decimal point, multiplies the number by ten raised to that count to clear the point, and uses that as the numerator over the same power of ten. It then finds the greatest common divisor (GCD) of the numerator and denominator and divides both by it, which is what reduces 625/1000 to 5/8 in a single step. Repeating decimals are handled with the algebra trick of multiplying by a power of ten and subtracting, so 0.333... resolves to 1/3 rather than an almost-right 333/1000.

Accuracy depends on the decimal you supply. A terminating decimal like 0.4 converts exactly to 2/5, but a rounded display value such as 0.3333 (only four threes) is treated as written and becomes 3333/10000, not 1/3, so flag a value as repeating if that is what it truly is. The calculator runs entirely in your browser, so every number you type is processed on your own device and is never uploaded, logged, or stored on a server. You can convert as many figures as you like, privately and instantly, without an account.

Frequently asked questions

How does the calculator turn a decimal into a fraction?

It writes the decimal digits over the matching power of ten, for example 0.45 becomes 45/100, then divides the top and bottom by their greatest common divisor to simplify. For 45/100 the GCD is 5, giving the reduced fraction 9/20.

Can it convert repeating decimals like 0.666... correctly?

Yes. For a repeating decimal it uses the algebra method of multiplying by a power of ten and subtracting, which gives the exact fraction. So 0.666... becomes 2/3 and 0.111... becomes 1/9, rather than a rounded approximation.

Why does 0.3333 give a different answer than 1/3?

A typed value such as 0.3333 is a terminating decimal with four digits, so it converts exactly to 3333/10000. Only a genuinely repeating 0.333... equals 1/3, so mark the value as repeating if the digits really continue forever.

How do I convert a decimal inch to a fraction for a tape measure?

Enter the decimal inch, such as 0.625, and the tool returns 5/8 in. For values that do not land exactly on a marking, round to the nearest 1/16, 1/32 or 1/64 inch, the common precision steps used in woodworking and metalwork.

Does it handle numbers bigger than one and negatives?

Yes. A value over one is returned as a mixed number, so 2.75 becomes 2 3/4, and you can also read it as the improper fraction 11/4. Negative decimals keep their sign, so -0.5 converts to -1/2.

From our blog

How to Use a Stock Average Calculator to Plan Your Next Buy

By the Super Simple Digital Tools Team · Updated June 2026

Most investors discover their average cost only after the fact, when their broker app shows a red or green number. A stock average calculator flips that around: it lets you model a purchase before you place it, so you know exactly where your blended cost and break-even price will land. That foresight changes the question from 'what did I pay' to 'what will I have paid', which is the more useful framing when you are deciding whether to commit more cash to a position.

Start by entering your existing holding as one line: the number of shares you already own and the average price you paid for them. Then add a second line for the purchase you are considering, with its quantity and the current market price. The tool blends them into a single weighted average. Because the math is weighted by share count, you will quickly see that doubling your share count has a far bigger effect on your average than nudging it up by ten percent.

Averaging down is the headline use case, and it deserves a clear-eyed look. Lowering your average from 50 to 45 feels like progress, but it only helps if the stock recovers; if it keeps falling, you have simply lost money on more shares. The disciplined approach is to average down when your original reason for buying still holds and the drop reflects broad market noise, not a broken business. The calculator quantifies the upside; your research has to justify the risk.

Averaging up is the quieter cousin. When you add to a winner, your average rises, which can feel uncomfortable, but it can be the right move when momentum and fundamentals are both improving. Run the numbers first so you understand your new break-even. Seeing that adding shares at a higher price lifts your average only modestly, when the new order is small relative to your existing stake, often makes the decision easier to commit to.

Finally, treat the output as a planning figure rather than an accounting record. Fold in commissions for a realistic cost basis, and remember that reinvested dividends quietly add shares and cost over time. When tax season arrives, your broker will report cost basis using FIFO or specific-lot rules for individual stocks, which can differ from a simple average. Used this way, the calculator becomes a fast decision aid that sits alongside, not in place of, your brokerage statements.

  • Enter your current holding as a single line using its existing average price, then add only the new purchase to instantly preview your future average.
  • Bake commissions and fees into the price or amount field so your break-even reflects what you will actually need to recover.
  • Test a planned buy first: if the new average barely moves, the order may be too small to be worth the cost and risk.
  • Compare the new break-even price against a realistic recovery target before averaging down, rather than chasing a lower average for its own sake.

Read the full guide →

Tool by the Super Simple Digital Tools Team. Reviewed by our editorial team. Free to use, no signup required.

Related tools