Divide
Last updated
Last updated
Divides one number by another, producing their quotient. This basic math operation is useful for scaling, calculating proportions, or determining ratios between values.
a
The dividend (number being divided)
Number
Yes
b
The divisor (number to divide by)
Number
Yes
value
The quotient (a divided by b)
Number
Drag the Divide node into your graph.
Connect a number (like 10
) to the "a" input.
Connect another number (like 2
) to the "b" input.
Run the graph—your output will be 5
.
Be careful with division by zero, which results in Infinity or NaN (not a number).
Use division to create proportional relationships between values.
Scale Calculation: Convert between different measurement units (e.g., pixels to percentages).
Aspect Ratios: Calculate width-to-height ratios for responsive elements.
Distribution: Divide a total value evenly among multiple elements.
: For multiplying numbers together.