# divide

Learn how to use the division (/) operator in Notion formulas.

The divide (`/`) operator allows you to divide two numbers and get their quotient.

```.wp-block-code {
border: 0;
}

.wp-block-code > div {
overflow: auto;
}

.shcb-language {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
position: absolute;
width: 1px;
word-wrap: normal;
word-break: normal;
}

.hljs {
box-sizing: border-box;
}

.hljs.shcb-code-table {
display: table;
width: 100%;
}

.hljs.shcb-code-table > .shcb-loc {
color: inherit;
display: table-row;
width: 100%;
}

.hljs.shcb-code-table .shcb-loc > span {
display: table-cell;
}

.wp-block-code code.hljs:not(.shcb-wrap-lines) {
white-space: pre;
}

.wp-block-code code.hljs.shcb-wrap-lines {
white-space: pre-wrap;
}

.hljs.shcb-line-numbers {
border-spacing: 0;
counter-reset: line;
}

.hljs.shcb-line-numbers > .shcb-loc {
counter-increment: line;
}

.hljs.shcb-line-numbers .shcb-loc > span {
}

.hljs.shcb-line-numbers .shcb-loc::before {
border-right: 1px solid #ddd;
content: counter(line);
display: table-cell;
text-align: right;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 1%;
}```number / number
divide(number, number)
``````

The `/` operator follows the standard mathematical order of operations (PEMDAS). For more detail, see Operator Precedence.

You can also use the function version, `divide()`.

``````12 / 4 // Output: 3

divide(12,-4) // Output: -3
``````

Since divide is a binary operator, it can only work on two operands – the objects which are being operated on (if – the ternary operator – is the only operator that works on three operands).

If you need to work with more than two operands, the shorthand `/` is by far the easiest way to do it.

``````40 / 2 / 5 // Output: 4

divide(divide(40,2),5) // Output: 4
``````

No – unlike addition and multiplication, which are commutative, division won’t work if you switch around the numbers you’re working with. `8/2 = 4`, but `2/8 = 0.25`.

The same applies when working with 3 or more operands.

`100/2/4/2 = 6.25`, while `(100/2)/(4/2) = 50/2 = 25`.

The example database below shows the per-person split for several heists carried out by a certain crew of classy thieves. The simple Split formula shows the `/` operator in action, and simply divides Total by Shares.

``````prop("Total") / prop("Shares")
``````

Instead of using hard-coded numbers, I’ve called in each property using the `prop()` function.

Curious about how the Shares formula is able to get a count from the Members property? See that breakdown here: Count multi-select tags