# Divide

**Divide** may refer to any of the following:

1. In mathematics, **divide** is represented by the forward slash (/) key on the keyboard. It describes how many times a number goes into another number. For example, 10 divided by 2 (10 / 2) equals 5.

To divide numbers on a computer or smartphone, a calculator or spreadsheet could be used.

## Where is the divide key?

The forward slash or divide is found on the key next to the right `Shift` (same key as the question mark). If your keyboard has a numeric keypad, there are two forward slash or divide symbol keys. For further information about the forward slash, see the forward slash page.

## How to divide in a spreadsheet

To divide in a spreadsheet program, like Microsoft Excel, you can use the forward slash and the cells you want to divide in a formula, as shown below.

=A1/B1

Placing this formula in cell C1 shows the total of cell A1 divided by the value in B1. For example, if A1 contained "100" and B1 contained "2" then C1 would show "50." If the A1 or B1 cell values change, the total value in C1 would also change automatically.

If either of these cells is empty or 0 (zero), you get a #DIV/0! error, a divide by zero error.

There is no "divide" function in Excel. In other words, you cannot type =DIVIDE(A1/B1).

To divide in a cell without referencing another cell, use a formula similar to the following example.

=100/2

In the above example, the cell would show "50" as the answer to the above formula. Keep in mind that when you do a formula like this example that it cannot change unless you change the formula. To take full advantage of Excel's capabilities, always reference a cell containing the value (like the first example) instead of entering it directly into a formula.

## How to divide in computer programming

With computer programming, the forward slash can divide a number or numbers stored in a variable, as shown in the following Perl code.

use strict; my $first = 15; my $second = 5;

my $answer = $first / $second;

print "You get $answer if you divide $first by $second";

When the script above is run, it displays "You get 3 if you divide 15 by 5" on the screen.

Keep the order of operations in mind when working with more than two numbers. For example, if you want to divide numbers and then add the result to another number, surround the numbers divide in parentheses.

## How to create a division sign in HTML

To create a division sign ( ÷ ) in HTML, use any of the following codes.

- ÷
- ÷
- ÷

2. A **divider** can describe a person or thing that divides. A divider also describes one or more characters that separate text. For example, the @ (at sign) or @ symbol is used in an e-mail address as a divider. It separates a person's unique name or alias from the domain name which operates the e-mail service. Another word for this type of divider is a delimiter.

Add, Arithmetic, Forward slash, Multiply, Separator, Subtract