Tips: Press Enter to calculate. Press Ctrl + Enter to clear fields.
1.2 * (2 + 4.5) = 7.8 | 8 % 3 = 2 | gcd(24,16) = 8 |
sqrt(3^2 + 4^2) = 5 | 2^4+log(8,2)+log10(100) = 21 | 3 inch + 2 cm = 3.7874 inch |
exp(1) = 2.718281828 | pow(2,10) = 1024 | mod(8,3) = 2 |
Function | Description |
---|---|
abs(x) | Calculate the absolute value of a number. |
add(x, y) | Add two or more values, x + y. |
cbrt(x [, allRoots]) | Calculate the cubic root of a value. |
ceil(x) | Round a value towards plus infinity If x is complex, both real and imaginary part are rounded towards plus infinity. |
cube(x) | Compute the cube of a value, x * x * x. |
divide(x, y) | Divide two values, x / y. |
dotDivide(x, y) | Divide two matrices element wise. |
dotMultiply(x, y) | Multiply two matrices element wise. |
dotPow(x, y) | Calculates the power of x to y element wise. |
exp(x) | Calculate the exponent of a value. |
fix(x) | Round a value towards zero. |
floor(x) | Round a value towards minus infinity. |
gcd(a, b) | Calculate the greatest common divisor for two or more values or arrays. |
hypot(a, b, …) | Calculate the hypotenusa of a list with values. |
lcm(a, b) | Calculate the least common multiple for two or more values or arrays. |
log(x [, base]) | Calculate the logarithm of a value. |
log10(x) | Calculate the 10-base logarithm of a value. |
mod(x, y) | Calculates the modulus, the remainder of an integer division. |
multiply(x, y) | Multiply two or more values, x * y. |
norm(x [, p]) | Calculate the norm of a number, vector or matrix. |
nthRoot(a) | Calculate the nth root of a value. |
pow(x, y) | Calculates the power of x to y, x ^ y. |
round(x [, n]) | Round a value towards the nearest integer. |
sign(x) | Compute the sign of a value. |
sqrt(x) | Calculate the square root of a value. |
square(x) | Compute the square of a value, x * x. |
subtract(x, y) | Subtract two values, x - y. |
unaryMinus(x) | Inverse the sign of a value, apply a unary minus operation. |
unaryPlus(x) | Unary plus operation. |
xgcd(a, b) | Calculate the extended greatest common divisor for two values. |
arg(x) | Compute the argument of a complex value. |
conj(x) | Compute the complex conjugate of a complex value. |
im(x) | Get the imaginary part of a complex number. |
re(x) | Get the real part of a complex number. |
Base | Unit |
---|---|
Length | meter (m), inch (in), foot (ft), yard (yd), mile (mi), link (li), rod (rd), chain (ch), angstrom, mil |
Surface area | m2, sqin, sqft, sqyd, sqmi, sqrd, sqch, sqmil, acre, hectare |
Volume | m3, litre (l, L, lt, liter), cc, cuin, cuft, cuyd, teaspoon, tablespoon |
Liquid volume | minim (min), fluiddram (fldr), fluidounce (floz), gill (gi), cup (cp), pint (pt), quart (qt), gallon (gal), beerbarrel (bbl), oilbarrel (obl), hogshead, drop (gtt) |
Angles | rad (radian), deg (degree), grad (gradian), cycle, arcsec (arcsecond), arcmin (arcminute) |
Time | second (s, secs, seconds), minute (mins, minutes), hour (h, hr, hrs, hours), day (days), week (weeks), month (months), year (years), decade (decades), century (centuries), millennium (millennia) |
Frequency | hertz (Hz) |
Mass | gram(g), tonne, ton, grain (gr), dram (dr), ounce (oz), poundmass (lbm, lb, lbs), hundredweight (cwt), stick, stone |
Electric current | ampere (A) |
Temperature | kelvin (K), celsius (degC), fahrenheit (degF), rankine (degR) |
Amount of substance | mole (mol) |
Luminous intensity | candela (cd) |
Force | newton (N), dyne (dyn), poundforce (lbf), kip |
Energy | joule (J), erg, Wh, BTU, electronvolt (eV) |
Power | watt (W), hp |
Pressure | Pa, psi, atm, torr, bar, mmHg, mmH2O, cmH2O |
Electricity and magnetism | ampere (A), coulomb (C), watt (W), volt (V), ohm, farad (F), weber (Wb), tesla (T), henry (H), siemens (S), electronvolt (eV) |
Binary | bit (b), byte (B) |
Name | Abbreviation | Value |
---|---|---|
deca | da | 1e1 |
hecto | h | 1e2 |
kilo | k | 1e3 |
mega | M | 1e6 |
giga | G | 1e9 |
tera | T | 1e12 |
peta | P | 1e15 |
exa | E | 1e18 |
zetta | Z | 1e21 |
yotta | Y | 1e24 |
Name | Abbreviation | Value |
---|---|---|
deci | d | 1e-1 |
centi | c | 1e-2 |
milli | m | 1e-3 |
micro | u | 1e-6 |
nano | n | 1e-9 |
pico | p | 1e-12 |
femto | f | 1e-15 |
atto | a | 1e-18 |
zepto | z | 1e-21 |
yocto | y | 1e-24 |