QCSunny Lab

Fraction Calculator

Top: simplify a fraction and see it as a decimal. Bottom: convert a decimal back to an exact fraction.

Simplify a fraction to lowest terms, see it as a decimal and a percentage, and convert a decimal back into the nearest exact fraction (up to a denominator of 10,000) using continued fractions.

Simplifying works by dividing both numerator and denominator by their greatest common divisor (GCD). The decimal-to-fraction direction is exact for terminating decimals like 0.375 = 3/8, and gives the best rational approximation otherwise — 0.333… becomes 1/3.

Frequently asked questions

What is 18/24 in lowest terms?

3/4 — both parts divided by their GCD, 6.

How do I turn 0.125 into a fraction?

0.125 = 125/1000 = 1/8 exactly; the calculator does this reduction for you.

Why does 0.333… become 1/3?

The continued-fraction method finds 1/3 is the closest fraction with a small denominator to 0.333…

中文说明

把分数约分到最简形式,查看对应的小数与百分比;也可以把小数转回最接近的精确分数(分母上限 10000),采用连分数逼近算法。

约分的原理是分子分母同除以最大公约数(GCD)。小数转分数对有限小数是精确的(如 0.375 = 3/8);对无限小数则给出最优有理逼近——0.333… 会得到 1/3。

常见问题

18/24 的最简形式是什么?

3/4——分子分母同除以最大公约数 6。

0.125 怎么化成分数?

0.125 = 125/1000 = 1/8(精确值),本计算器会自动完成约分。

为什么 0.333… 会得到 1/3?

连分数算法会找出分母较小时最接近 0.333… 的分数,正是 1/3。