Use DIVIDE to divide one number by another.

You could use DIVIDE to determine the average monthly bonus of your sales team.

DIVIDE(Dividend, Divisor)

ArgumentData typeDescription
DividendNumber The number to divide. 
DivisorNumber The number to divide by.
BehaviorClassicPolaris
0 as the Divisor

For DIVIDE (x, 0):

  • Returns infinity when x > 0
  • Returns Not a Number (NaN) when x = 0
  • Returns -infinity when x < 0

Returns NaN

See the Additional information section for more details.

When the divisor is 0, use the “/” operator to return 0. The “/” operator is preferred in Polaris to avoid returning NaN.

/ (divide)

This example shows how to use the DIVIDE function to track unit costs across different shipments.

In this module called Shipment scenarios, the columns are dimensioned by a list called Shipments. The line items used are Shipment status, Total spend, Units received, and Price per unit, all using the Number format.

Here, the “/” operator and "IF THEN ELSE" are used in cases where DIVISOR is 0.


Shipment AShipment BShipment C
Shipment statusCompletedCanceledInactive
Total spend$ 10,000$ 200$ 0
Units received2,00000

Price per unit (using DIVIDE)

DIVIDE(Total spend, Units received)

$ 5NaNNaN

Price per unit (using the “/” operator)

Total spend / Units received

$ 5$ 0$ 0

Price per unit (using “IF-THEN-ELSE”)

IF Units received > 0 THEN DIVIDE(Total spend, Units received) ELSE 0

$ 5$ 0$ 0