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 | ||
| Cubic millimeter | 0.000000001, 0, 0, 0 | |
| Cubic centimeter | 0.000001, 0, 0, 0 | |
| Cubic meter | 1, 0, 0, 0 | |
| Teaspoon | 0.000004928922, 0, 0, 0 | |
| Tablespoon | 0.00001478676, 0, 0, 0 | |
| Cubic inch (in^3) | 0.00001638706, 0, 0, 0 | |
| Ounce (UK,fluid) | 0.00002841305, 0, 0, 0 | |
| Fluid ounce (US) | 0.00002957353, 0, 0, 0 | |
| Ounce (US,fluid) | 0.00002957353, 0, 0, 0 | |
| Gill (US) | 0.0001182941, 0, 0, 0 | |
| Gill (UK) | 0.0001420652, 0, 0, 0 | |
| Cup | 0.0002365882, 0, 0, 0 | |
| Pint (US,liq) | 4.7317650E-04, 0, 0, 0 | |
| Pint (US,dry) | 0.0005506105, 0, 0, 0 | |
| Quart (US,liq) | 9.46353E-04, 0, 0, 0 | |
| Liter (new) | 0.001, 0, 0, 0 | |
| Liter (old) | 0.001000028, 0, 0, 0 | |
| Quart (US,dry) | 0.001101221, 0, 0, 0 | |
| Board foot | 0.002359737, 0, 0, 0 | |
| Gallon (US,liq) | 0.003785412, 0, 0, 0 | |
| Gallon (US,dry) | 0.004404884, 0, 0, 0 | |
| Gallon (UK) | 0.004546087, 0, 0, 0 | |
| Peck (US) | 8.8097680E-03, 0, 0, 0 | |
| Cubic foot | 0.02831685, 0, 0, 0 | |
| Bushel (US) | 0.03523907, 0, 0, 0 | |
| Barrel (oil) | 0.1589873, 0, 0, 0 | |
| Cubic yard | 0.7645549, 0, 0, 0 | |
| Stere | 1, 0, 0, 0 | |
| Ton (register) | 2.831685, 0, 0, 0 | |
| Acre-foot | 1233.482, 0, 0, 0 | |