calcula.tech lets you do calculations in the browser with realtime pretty printed output.
g = 9.81 m/s^2 m = 18 kg F = m * g = ? N

g=9.810 ms2g = 9.810\ \mathrm{\mathrm{\frac{\mathrm{m}}{\mathrm{\mathrm{s}^{2}}}}}
m=18 kgm = 18\ \mathrm{\mathrm{kg}}
F=m×g=176.580 NF = m \times g = 176.580 \ \mathrm{N}

Try it Out →

Write an expression followed by '= ?' to evaluate it:

50 g + 1 kg = ? 50 m/s * 5 s = ?

50 g+1 kg=1.050 kg 50\ \mathrm{\mathrm{g }} + 1\ \mathrm{\mathrm{kg}} = 1.050 \ \mathrm{k g\,}
50 ms×5 s=250 m 50\ \mathrm{\mathrm{\frac{\mathrm{m}}{\mathrm{s }}}} \times 5\ \mathrm{\mathrm{s }} = 250 \ \mathrm{ m\,}


Suggest a unit after the question mark. You can use this to convert units:

5 m/s^2 * 3 kg = ? 5 m/s^2 * 3 kg = ? N 5 km = ? m

5 ms2×3 kg=15 kg m s2 5\ \mathrm{\mathrm{\frac{\mathrm{m}}{\mathrm{\mathrm{s}^{2}}}}} \times 3\ \mathrm{\mathrm{kg}} = 15 \ \mathrm{\frac{k g\, m\,}{ s^{2}\,}}
5 ms2×3 kg=15 N5\ \mathrm{\mathrm{\frac{\mathrm{m}}{\mathrm{\mathrm{s}^{2}}}}} \times 3\ \mathrm{\mathrm{kg}} = 15 \ \mathrm{N}
5 km=5000 m5\ \mathrm{\mathrm{km}} = 5000 \ \mathrm{m}


Assign variables using an equals sign. They support LaTeX formatting.

a_b = 5 c = 10 kg a_b * c = ? z = a_b kg + c = ?

ab=5a_b = 5
c=10 kgc = 10\ \mathrm{\mathrm{kg}}
ab×c=50 kg a_b \times c = 50 \ \mathrm{k g\,}
z=ab kg+c=15 kg z = a_b\ \mathrm{\mathrm{kg}} + c = 15 \ \mathrm{k g\,}


Add aliases for hard to type variables

alias dx \frac{dx}{dt} alias dt \Delta{t} dx = 10 m/s dt = 14 days x = dx * dt = ?


dxdt=10 ms\frac{dx}{dt} = 10\ \mathrm{\mathrm{\frac{\mathrm{m}}{\mathrm{s}}}}
Δt=14 days\Delta{t} = 14\ \mathrm{\mathrm{days}}
x=dxdt×Δt=12096 km x = \frac{dx}{dt} \times \Delta{t} = 12096 \ \mathrm{k m\,}


Set the number of output digits or use scientific notation by using !digits or !scientific

1 / 3 = ? !digits 10 1 / 3 = ? !digits 1 !scientific 1 kg = ? mg

13=0.333\frac{1}{3} = 0.333

13=0.3333333333\frac{1}{3} = 0.3333333333

1 kg=1×106 mg1\ \mathrm{\mathrm{kg}} = 1 \times 10^{6} \ \mathrm{mg}


Basic mathematical functions are supported, and there are a few built-in constants.

sin(\pi) = ? cos(\pi) = ? e = ?

sin(π)=0.000\text{sin}(\pi) = 0.000
cos(π)=1\text{cos}(\pi) = -1
e=2.718e = 2.718


Escape raw LaTeX with three single quotes

''' Raw LaTeX here ''' 5 * 10 kg = ? ''' Use raw LaTeX to format symbolic equations: $$ e = mc^2 $$ '''

Raw LaTeX here
5×10 kg=50 kg 5 \times 10\ \mathrm{\mathrm{kg}} = 50 \ \mathrm{k g\,}

Use raw LaTeX to format symbolic equations: e=mc2 e = mc^2