Math & trig functions

The 84 math & trig functions in Sheets, with the usual names, arguments and results.

FunctionWhat it doesSyntax
ABSAbsolute valueABS(value)
ACOSArccosine, in radiansACOS(number)
ACOSHInverse hyperbolic cosineACOSH(number)
ACOTArccotangent, in radiansACOT(number)
ACOTHInverse hyperbolic cotangentACOTH(number)
AGGREGATEAggregate that can skip error valuesAGGREGATE(function_num, options, ref1, [ref2, ...])
ARABICRoman numerals as a numberARABIC(text)
ASINArcsine, in radiansASIN(number)
ASINHInverse hyperbolic sineASINH(number)
ATANArctangent, in radiansATAN(number)
ATAN2Arctangent of x- and y-coordinatesATAN2(x_num, y_num)
ATANHInverse hyperbolic tangentATANH(number)
BASENumber as text in a base (radix)BASE(number, radix, [min_length])
CEILINGRound up to a multipleCEILING(number, [significance])
CEILING.MATHRound up to a multipleCEILING.MATH(number, [significance], [mode])
CEILING.PRECISERound up to a multiple, whatever the signCEILING.PRECISE(number, [significance])
COMBINNumber of combinationsCOMBIN(number, number_chosen)
COMBINACombinations with repetitionsCOMBINA(number, number_chosen)
COSCosine of an angle in radiansCOS(number)
COSHHyperbolic cosineCOSH(number)
COTCotangent of an angle in radiansCOT(number)
COTHHyperbolic cotangentCOTH(number)
CSCCosecant of an angle in radiansCSC(number)
CSCHHyperbolic cosecantCSCH(number)
DECIMALText in a base (radix) as a numberDECIMAL(text, radix)
DEGREESRadians to degreesDEGREES(angle)
EVENRound away from zero to an even integerEVEN(number)
EXPEuler's number e raised to a powerEXP(number)
FACTFactorialFACT(number)
FACTDOUBLEDouble factorialFACTDOUBLE(number)
FLOORRound down to a multipleFLOOR(number, [significance])
FLOOR.MATHRound down to a multipleFLOOR.MATH(number, [significance], [mode])
FLOOR.PRECISERound down to a multiple, whatever the signFLOOR.PRECISE(number, [significance])
GCDGreatest common divisorGCD(number1, [number2, ...])
INTRound down to an integerINT(value)
ISO.CEILINGRound up to a multiple, whatever the signISO.CEILING(number, [significance])
LCMLeast common multipleLCM(number1, [number2, ...])
LNNatural logarithmLN(number)
LOGLogarithm to a base (10 by default)LOG(number, [base])
LOG10Base-10 logarithmLOG10(number)
MDETERMDeterminant of a square matrixMDETERM(array)
MINVERSEInverse of a square matrixMINVERSE(array)
MMULTMatrix product of two arraysMMULT(array1, array2)
MODRemainder after divisionMOD(number, divisor)
MROUNDRound to the nearest multipleMROUND(number, multiple)
MULTINOMIALMultinomial coefficientMULTINOMIAL(number1, [number2, ...])
MUNITIdentity matrix of a given sizeMUNIT(dimension)
ODDRound away from zero to an odd integerODD(number)
PERCENTOFShare of a subset in the totalPERCENTOF(data_subset, data_all)
PERMUTNumber of permutationsPERMUT(number, number_chosen)
PERMUTATIONAPermutations with repetitionsPERMUTATIONA(number, number_chosen)
PIThe number pi (3.14159…)PI()
POWERBase raised to a powerPOWER(base, exponent)
PRODUCTProduct of valuesPRODUCT(number1, [number2, ...])
QUOTIENTInteger part of a divisionQUOTIENT(numerator, denominator)
RADIANSDegrees to radiansRADIANS(angle)
RANDRandom number from 0 to 1RAND()
RANDARRAYArray of random numbersRANDARRAY([rows], [columns], [min], [max], [whole_number])
RANDBETWEENRandom integer between two numbersRANDBETWEEN(bottom, top)
ROMANNumber as Roman numeralsROMAN(number, [form])
ROUNDexampleRound to N decimalsROUND(value, [digits])
ROUNDDOWNRound toward zeroROUNDDOWN(value, [digits])
ROUNDUPRound away from zeroROUNDUP(value, [digits])
SECSecant of an angle in radiansSEC(number)
SECHHyperbolic secantSECH(number)
SEQUENCEArray of sequential numbersSEQUENCE(rows, [columns], [start], [step])
SERIESSUMSum of a power seriesSERIESSUM(x, n, m, coefficients)
SIGNSign of a number: 1, 0 or -1SIGN(number)
SINSine of an angle in radiansSIN(number)
SINHHyperbolic sineSINH(number)
SQRTSquare rootSQRT(value)
SQRTPISquare root of a number times piSQRTPI(number)
SUBTOTALSubtotal by a numbered function (1-11)SUBTOTAL(function_num, ref1, [ref2, ...])
SUMexampleSum of valuesSUM(value1, [value2, ...])
SUMIFexampleSum where one criterion matchesSUMIF(range, criterion, [sum_range])
SUMIFSexampleConditional sumSUMIFS(sum_range, range1, criterion1, ...)
SUMPRODUCTexampleSum of element-wise productsSUMPRODUCT(array1, [array2, ...])
SUMSQSum of squaresSUMSQ(number1, [number2, ...])
SUMX2MY2Sum of x² - y² over two arraysSUMX2MY2(array_x, array_y)
SUMX2PY2Sum of x² + y² over two arraysSUMX2PY2(array_x, array_y)
SUMXMY2Sum of (x - y)² over two arraysSUMXMY2(array_x, array_y)
TANTangent of an angle in radiansTAN(number)
TANHHyperbolic tangentTANH(number)
TRUNCCut off decimals without roundingTRUNC(number, [num_digits])