Enter a math expression, hit evaluate!
Your results are shown below.
Examples
A 15% tip for a $75 Bill | ||
75 * .15 | = | 11.25 |
Sales tax of 4.5% for a $65 item | ||
65 * .045 | = | 2.92 |
(7 / 2) * 3 | = | 10.5 |
12 % 5 | = | 2 |
Math.sqrt(16) | = | 4 |
15 & 9 | = | 9 (1111 & 1001 = 1001) |
15 | 9 | = | 15 (1111 | 1001 = 1111) |
15 ^ 9 | = | 6 (1111 ^ 1001 = 0110) |
status=(20 >= 18) ? "adult":"minor" | = | adult |
BMI for weight 195 height 69 inches = 28.8 |
Multiply is *
The comma , is an operator. Numbers are stripped of commas!
The Fn button adds commas to the output
The RtE button to move the results to input
Convert to Fractions turns decimals into fractions
CE clears the current entry
BS deletes the left most character
Functions
Math.abs(x) | absolute value |
Math.acos(x) | arccosine (in radians) |
Math.asin(x) | arcsine (in radians) |
Math.atan(x) | arctangent (in radians) |
Math.atan2(x,y) | arctangent of the quotient of its arguments. |
Math.ceil(x) | Rounds up (Math.ceil(-9.01) = -9.0 : counts up - towards zero). |
Math.cos(x) | cosine |
Math.E | Returns Euler's constant - the base of the natural logarithms. |
Math.exp(x) | Calculates e (the base of natural logarithms) raised to a power. |
Math.floor(x) | Rounds down (Math.floor(-9.01) = -10.0 : counts down - away from zero). |
Math.log(x) | natural logarithm (base E) |
Math.max(x,y) | greater of two numbers. |
Math.min(x,y) | lesser of two numbers. |
Math.pow(base,ep) | Calculates base to the ep (exponent power). |
Math.random() | Calculates a pseudo-random number between 0 and 1. |
Math.round(x) | Rounds up if the decimal is greater than or equal to .5, else it will round down. |
Math.sin(x) | sine |
Math.sqrt(x) | square root |
Math.tan(x) | tangent |
parseInt(string,[radix]) | attempts to return integer of the specified base. |
For Hex To Dec | parseInt("E", 16) { parseInt("0xE", 16) } = 14 |
For Octal To Dec | parseInt("16", 8) { parseInt("016", 8) } = 14 |
DecToOctal | DecToOctal(224) = 0340 |
DecToHex | DecToHex(224) = 0xE0 |
DecToBin | DecToBin(8) = 100 |
|
|
Operators
addition/subtraction |
+ - |
multiply/divide/modulus |
* / % |
% modulus - Returns the integer remainder of dividing the two operands | |
comma |
, |
assignment |
= += -= *= /= %= <<= >>= >>>= &= ^= |= |
conditional |
?: |
logical-or |
|| |
logical-and |
&& |
bitwise-or |
| |
bitwise-xor |
^ |
bitwise-and |
& |
equality |
== != |
relational |
< <= > >= |
bitwise shift |
<< >> >>> |
negation/increment |
! ~ - + ++ -- typeof void delete |
Cutting and pasting equations can fail due to character code incompatibilities
If you think the equation is correct, often times typing over the operator characters,
especially what looks like a minus sign can solve your problem.
Examples:
− Minus Sign
– en dash
— em dash
Math Open Reference
Digital Library of Mathematical Functions
Universal Time
Algebra
Linear Alegrbra
Math Glossary
Geometry Center
Trigonometry
Probability by Suprise
Math and Physics Applets
Excel Tutorial
Orders of Magnitude
Numerical Optimization