About
Every input field works as a calculator. You can use the methods and constants (case sensitive!) described on this page.
Example 1
250 * 2
Example 2
(200 - 25) * (2 / 3)
Example 3
PI * pow(10, 3) + 5 * cos(2 * PI)
Example 4
5.0125e-5 * E
The result is calculated instantly (as you type) and displayed under the input field. The message syntax will appear when the expression is not understood (or incomplete).
Go to topExample 1
250 * 2
Example 2
(200 - 25) * (2 / 3)
Example 3
PI * pow(10, 3) + 5 * cos(2 * PI)
Example 4
5.0125e-5 * E
The result is calculated instantly (as you type) and displayed under the input field. The message syntax will appear when the expression is not understood (or incomplete).
| abs(x) | Returns the absolute value of x |
| acos(x) | Returns the arccosine of x, in radians |
| asin(x) | Returns the arcsine of x, in radians |
| atan(x) | Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radians |
| atan2(y,x) | Returns the arctangent of the quotient of its arguments |
| ceil(x) | Returns x, rounded upwards to the nearest integer |
| cos(x) | Returns the cosine of x (x is in radians) |
| exp(x) | Returns the value of Ex |
| floor(x) | Returns x, rounded downwards to the nearest integer |
| log(x) | Returns the natural logarithm (base E) of x |
| max(x,y,z,...,n) | Returns the number with the highest value |
| min(x,y,z,...,n) | Returns the number with the lowest value |
| pow(x,y) | Returns the value of x to the power of y |
| random() | Returns a random number between 0 and 1 |
| round(x) | Rounds x to the nearest integer |
| sin(x) | Returns the sine of x (x is in radians) |
| sqrt(x) | Returns the square root of x |
| tan(x) | Returns the tangent of an angle |
| E | Returns Euler's number (approx. 2.718) |
| LN2 | Returns the natural logarithm of 2 (approx. 0.693) |
| LN10 | Returns the natural logarithm of 10 (approx. 2.302) |
| LOG2E | Returns the base-2 logarithm of E (approx. 1.442) |
| LOG10E | Returns the base-10 logarithm of E (approx. 0.434) |
| PI | Returns PI (approx. 3.14159) |
| SQRT1_2 | Returns the square root of 1/2 (approx. 0.707) |
| SQRT2 | Returns the square root of 2 (approx. 1.414) |
| Metric | ||
| Fermi or femtometre | 1E-15, 0, 0, 0 | |
| Picometer | 1E-12, 0, 0, 0 | |
| Ångström or Angstrom | 1E-10, 0, 0, 0 | |
| Nanometer | 1E-9, 0, 0, 0 | |
| Micrometer | 1E-6, 0, 0, 0 | |
| Millimeter | 1E-3, 0, 0, 0 | |
| Centimeter | 1E-2, 0, 0, 0 | |
| Meter | 1, 0, 0, 0 | |
| Kilometer | 1E+3, 0, 0, 0 | |
| International | ||
| Mil or thou or point | 0.9144/3/12000, 0, 0, 0 | |
| Inch | 0.9144/3/12, 0, 0, 0 | |
| Foot | 0.9144/3, 0, 0, 0 | |
| Yard | 0.9144, 0, 0, 0 | |
| Furlong | 0.9144/3*660, 0, 0, 0 | |
| Mile | 0.9144/3*5280, 0, 0, 0 | |
| League | 0.9144/3*15840, 0, 0, 0 | |
| British (Imperial) survey | ||
| Link | 0.3047990*66/100, 0, 0, 0 | |
| (Survey) foot | 0.304799, 0, 0, 0 | |
| Rod or pole or perch | 0.3047990*66/4, 0, 0, 0 | |
| Chain | 0.3047990*66, 0, 0, 0 | |
| Furlong | 0.3047990*660, 0, 0, 0 | |
| Survey mile or statute mile | 0.3047990*5280, 0, 0, 0 | |
| League | 0.3047990*15840, 0, 0, 0 | |
| U.S. Survey | ||
| Link | 1200/3937*66/100, 0, 0, 0 | |
| (Survey) foot | 1200/3937, 0, 0, 0 | |
| Rod or pole or perch | 1200/3937*66/4, 0, 0, 0 | |
| Chain | 1200/3937*66, 0, 0, 0 | |
| Furlong | 1200/3937*660, 0, 0, 0 | |
| Survey mile or statute mile | 1200/3937*5280, 0, 0, 0 | |
| League | 1200/3937*15840, 0, 0, 0 | |
| Other | ||
| Caliber | 0.000254, 0, 0, 0 | |
| Point (pt) | 0.0003514598, 0, 0, 0 | |
| Em | 4.2323E-03, 0, 0, 0 | |
| Ell | 1.143, 0, 0, 0 | |
| Fathom | 1.8288, 0, 0, 0 | |
| Mile (US statute) | 1609.344, 0, 0, 0 | |
| Mile (US nautical) | 1852, 0, 0, 0 | |
| Mile (int'l nautical) | 1852, 0, 0, 0 | |
| Mile (UK nautical) | 1853.184, 0, 0, 0 | |
| Astronomical | ||
| Astronomical unit | 1.49598E+11, 0, 0, 0 | |
| Light year | 9.46055E+15, 0, 0, 0 | |
| Parsec | 3.08374E+16, 0, 0, 0 | |
| Danish | ||
| Mil | 7532.48, 0, 0, 0 | |
| Norwegian | ||
| Mil | 10000, 0, 0, 0 | |
| Swedish | ||
| Mil | 10000, 0, 0, 0 | |
| Typographical | ||
| Point (Truchet) | 15.625/83.118/1000, 0, 0, 0 | |
| Point (Fournier) | 27.07/1000*11/864, 0, 0, 0 | |
| Point (ATA) | 0.3514598/1000, 0, 0, 0 | |
| Point (American / TeX) | 0.9144/3/72.27/12, 0, 0, 0 | |
| Point (Computer / PostScript) | 0.9144/3/72/12, 0, 0, 0 | |
| French points or Didot points | 27.07/72/1000, 0, 0, 0 | |
| Pica (American / TeX) | 0.9144/3/72.27, 0, 0, 0 | |
| Pica (Computer / PostScript) | 0.9144/3/72, 0, 0, 0 | |
| Cicero | 27.07/1000/6, 0, 0, 0 | |