Calculator expressions and functions on Mac
Try Eva|Bar expressions for percentages, averages, powers, and trigonometry. See how to enter decimals and format copied results.
Type a full expression into Eva|Bar’s menu bar calculator and the answer updates as you type. Press Return to copy the result. Use a period for decimal values and commas between function arguments.
Expressions to try
| Task | Expression | Result |
|---|---|---|
| Apply a 15% discount to 240 | 240 * (1 - 15 / 100) | 204 |
| Average three values | avg(12,18,24) | 18 |
| Find a remainder | 17 % 5 | 2 |
| Combine a power and a square root | 2^3 + sqrt(81) | 17 |
| Use a base-3 logarithm | log(81,3) | 4 |
| Find the sine of 30 degrees | sin(30 * pi / 180) | 0.5 |
In Eva|Bar, the % operator gives the remainder. To calculate a percentage, divide the percentage by 100 and multiply by the original value. Trigonometric functions use radians. Multiply an angle in degrees by pi / 180 to convert it.
Control the format of copied results
In … → Preferences, set your decimal precision and choose decimal and thousands separators. These settings control the displayed and copied result. When typing expressions, continue using a period as the decimal point, even if the result uses a comma.
Find functions in the app
Open the f panel for the built-in reference. Use min() and max() for the smallest and largest values in a list, round() for the nearest integer, and floor() or ceil() to round down or up.