Help
Overview
GeniusCalc is a powerful calculator application that supports mathematical expressions, variables, constants, and functions. You can perform complex calculations using built-in mathematical functions and constants.
Keyboard shortcuts
Ctrl/Cmd + K: Open command palette to quickly access functions, constants, and commands
Command palette
The command palette provides quick access to various calculator features. You can:
- Insert mathematical constants and functions
- Access your saved variables
- Execute general commands
General Commands
- Reset: Reset the calculator
- Clear History: Clear calculation history
- Clear Variables: Clear all variables
Slash commands
You can also use slash commands directly in the input field to perform quick actions. Type a slash command and press Enter to execute it.
/clear-history: Clear all history,/clear-variables: Clear all variables./delete: Delete variables. Example:/delete var1 var2 varX/last: Replace input expression with the last expression/note: Add a note to history with support for markdown. Example:/note This is a note with support for **markdown** and variable placeholders such as ${ans}./reset: Clear all history and variables. (Aliases:/clear)/welcome: Display welcome message.
Sample calculations
Here are some examples of calculations you can perform:
Basic arithmetic
Order of operations with parentheses
2 + 3 * (4 + 2)Complex expression with multiple operations
(10 - 5) / 2 + 3 * 4Using square root and absolute value
sqrt(16) + abs(-5)Exponentiation and division
2^3 / 4 + 1Using variables
Basic variable assignment
x = 10Using variables in calculations
x = 10y = x * 2Circle calculations with variables
radius = 5area = math.pi * radius^2Temperature conversion
celsius = 25fahrenheit = celsius * 9/5 + 32Using functions
Trigonometric functions (degrees to radians)
sin(45 * math.pi / 180)Logarithmic functions
log(100)Rounding to nearest integer
round(3.14159)Finding maximum and minimum values
max(5, 10, 3, 8)Finding minimum value
min(5, 10, 3, 8)Using constants
Circle circumference using pi
2 * math.pi * 5Exponential growth with e
math.e ^ 2Time calculations
time.seconds_per_hour * 24Golden ratio calculation
math.phiVariables
You can assign values to variables using the equals sign (=). Variables can store numbers, expressions, or the results of calculations. Variable names are case-sensitive and can contain letters, numbers, and underscores.
radius = 5area = math.pi * radius^2circumference = 2 * math.pi * radiusBuilt-in constants
Time-related constants
- Milliseconds per Second: Number of milliseconds in one second
time.milliseconds_per_second = 1000 - Milliseconds per Minute: Number of milliseconds in one minute
time.milliseconds_per_minute = 60000 - Milliseconds per Hour: Number of milliseconds in one hour
time.milliseconds_per_hour = 3600000 - Milliseconds per Day: Number of milliseconds in one day
time.milliseconds_per_day = 86400000 - Seconds per Minute: Number of seconds in one minute
time.seconds_per_minute = 60 - Seconds per Hour: Number of seconds in one hour
time.seconds_per_hour = 3600 - Seconds per Day: Number of seconds in one day
time.seconds_per_day = 86400 - Minutes per Hour: Number of minutes in one hour
time.minutes_per_hour = 60 - Minutes per Day: Number of minutes in one day
time.minutes_per_day = 1440 - Hours per Day: Number of hours in one day
time.hours_per_day = 24
Mathematical constants
- π (Pi): Ratio of circle's circumference to its diameter
math.pi = 3.141592653589793 - e (Euler's number): Base of natural logarithms
math.e = 2.718281828459045 - φ (Golden ratio): Golden ratio
math.phi = 1.618033988749895 - √2: Square root of 2
math.sqrt2 = 1.4142135623730951
Built-in functions
Time-related functions
- Current Timestamp: Returns the current timestamp in milliseconds since Unix epoch
now()
Trigonometric functions (angles in radians)
- Sine: Returns the sine of a number (in radians)
sin(angle) - Cosine: Returns the cosine of a number (in radians)
cos(angle) - Tangent: Returns the tangent of a number (in radians)
tan(angle) - Arcsine: Returns the arcsine (in radians) of a number
asin(value) - Arccosine: Returns the arccosine (in radians) of a number
acos(value) - Arctangent: Returns the arctangent (in radians) of a number
atan(value)
Basic arithmetic and mathematical operations
- Absolute: Returns the absolute value of a number
abs(number) - Square Root: Returns the square root of a number
sqrt(number) - Minimum: Returns the smallest of two numbers
min(number1, number2) - Maximum: Returns the largest of two numbers
max(number1, number2)
Functions for rounding numbers
- Round: Rounds a number to the nearest integer
round(number) - Floor: Rounds a number down to the nearest integer
floor(number) - Ceiling: Rounds a number up to the nearest integer
ceil(number)
Logarithmic functions
- Natural Logarithm: Returns the natural logarithm (base e) of a number
log(number)
Area conversion functions
- Square Meters to Square Feet: Converts square meters to square feet
convert_m2_to_ft2(squareMeters) - Square Feet to Square Meters: Converts square feet to square meters
convert_ft2_to_m2(squareFeet) - Square Meters to Acres: Converts square meters to acres
convert_m2_to_acres(squareMeters) - Acres to Square Meters: Converts acres to square meters
convert_acres_to_m2(acres) - Hectares to Acres: Converts hectares to acres
convert_ha_to_acres(hectares) - Acres to Hectares: Converts acres to hectares
convert_acres_to_ha(acres) - Square Feet to Acres: Converts square feet to acres
convert_ft2_to_acres(squareFeet) - Acres to Square Feet: Converts acres to square feet
convert_acres_to_ft2(acres)
Data size conversion functions
- Bytes to Kilobytes: Converts bytes to kilobytes
convert_b_to_kb(bytes) - Kilobytes to Bytes: Converts kilobytes to bytes
convert_kb_to_b(kilobytes) - Kilobytes to Megabytes: Converts kilobytes to megabytes
convert_kb_to_mb(kilobytes) - Megabytes to Kilobytes: Converts megabytes to kilobytes
convert_mb_to_kb(megabytes) - Megabytes to Gigabytes: Converts megabytes to gigabytes
convert_mb_to_gb(megabytes) - Gigabytes to Megabytes: Converts gigabytes to megabytes
convert_gb_to_mb(gigabytes) - Gigabytes to Terabytes: Converts gigabytes to terabytes
convert_gb_to_tb(gigabytes) - Terabytes to Gigabytes: Converts terabytes to gigabytes
convert_tb_to_gb(terabytes) - Bytes to Megabytes: Converts bytes to megabytes
convert_b_to_mb(bytes) - Megabytes to Bytes: Converts megabytes to bytes
convert_mb_to_b(megabytes) - Bytes to Gigabytes: Converts bytes to gigabytes
convert_b_to_gb(bytes) - Gigabytes to Bytes: Converts gigabytes to bytes
convert_gb_to_b(gigabytes)
Length/distance conversion functions
- Meters to Kilometers: Converts meters to kilometers
convert_m_to_km(meters) - Kilometers to Meters: Converts kilometers to meters
convert_km_to_m(kilometers) - Meters to Feet: Converts meters to feet
convert_m_to_ft(meters) - Feet to Meters: Converts feet to meters
convert_ft_to_m(feet) - Meters to Inches: Converts meters to inches
convert_m_to_in(meters) - Inches to Meters: Converts inches to meters
convert_in_to_m(inches) - Feet to Inches: Converts feet to inches
convert_ft_to_in(feet) - Inches to Feet: Converts inches to feet
convert_in_to_ft(inches) - Miles to Kilometers: Converts miles to kilometers
convert_mi_to_km(miles) - Kilometers to Miles: Converts kilometers to miles
convert_km_to_mi(kilometers)
Weight and mass conversion functions
- Kilograms to Pounds: Converts kilograms to pounds
convert_kg_to_lb(kilograms) - Pounds to Kilograms: Converts pounds to kilograms
convert_lb_to_kg(pounds) - Grams to Ounces: Converts grams to ounces
convert_g_to_oz(grams) - Ounces to Grams: Converts ounces to grams
convert_oz_to_g(ounces) - Kilograms to Grams: Converts kilograms to grams
convert_kg_to_g(kilograms) - Grams to Kilograms: Converts grams to kilograms
convert_g_to_kg(grams) - Pounds to Ounces: Converts pounds to ounces
convert_lb_to_oz(pounds) - Ounces to Pounds: Converts ounces to pounds
convert_oz_to_lb(ounces)
Temperature conversion functions
- Celsius to Fahrenheit: Converts Celsius to Fahrenheit
convert_c_to_f(celsius) - Fahrenheit to Celsius: Converts Fahrenheit to Celsius
convert_f_to_c(fahrenheit) - Celsius to Kelvin: Converts Celsius to Kelvin
convert_c_to_k(celsius) - Kelvin to Celsius: Converts Kelvin to Celsius
convert_k_to_c(kelvin) - Fahrenheit to Kelvin: Converts Fahrenheit to Kelvin
convert_f_to_k(fahrenheit) - Kelvin to Fahrenheit: Converts Kelvin to Fahrenheit
convert_k_to_f(kelvin)
Volume conversion functions
- Liters to Gallons: Converts liters to gallons (US)
convert_l_to_gal(liters) - Gallons to Liters: Converts gallons (US) to liters
convert_gal_to_l(gallons) - Milliliters to Fluid Ounces: Converts milliliters to fluid ounces (US)
convert_ml_to_oz_fl(milliliters) - Fluid Ounces to Milliliters: Converts fluid ounces (US) to milliliters
convert_oz_fl_to_ml(fluidOunces) - Liters to Milliliters: Converts liters to milliliters
convert_l_to_ml(liters) - Milliliters to Liters: Converts milliliters to liters
convert_ml_to_l(milliliters)
Speed conversion functions
- Kilometers per Hour to Miles per Hour: Converts kilometers per hour to miles per hour
convert_kph_to_mph(kilometersPerHour) - Miles per Hour to Kilometers per Hour: Converts miles per hour to kilometers per hour
convert_mph_to_kph(milesPerHour) - Meters per Second to Kilometers per Hour: Converts meters per second to kilometers per hour
convert_mps_to_kph(metersPerSecond) - Kilometers per Hour to Meters per Second: Converts kilometers per hour to meters per second
convert_kph_to_mps(kilometersPerHour)
