Select the cell, hold Alt and type 0216 on the numeric keypad to insert Ø. With no keypad, use =UNICHAR(216) (Excel 2013 and later). On a Mac, press Option + Shift + O (the letter O).
For the lowercase ø, use Alt + 0248 or =UNICHAR(248). In Insert → Symbol, set from to Unicode (hex) and type 00D8 in the Character code box instead of scrolling for it.
Ø is the letter O with stroke, which most people use for diameter. The dedicated diameter sign ⌀ is a separate character: =UNICHAR(8960), or character code 2300 in the Symbol dialog. Check that it displays in your font before using it on a drawing or spec sheet.
Typing Ø25 turns the size into text: SUM skips it without warning and =A2*2 returns #VALUE!. To show Ø25 and still calculate, enter 25 and apply the custom format "Ø"0 (or "Ø"0.00) through Ctrl + 1 → Number → Custom.
=CHAR(216) also returns Ø on Windows, but CHAR follows the system character set and can return a different character on a Mac. UNICHAR(216) gives Ø on both.
Diameter symbol [Ø] is also known as “O with stroke” or “Slashed O” because it has a forward slash running over it.
The keyboard doesn’t have a key to insert this symbol directly, but in Excel, there are many ways to add it into a cell.
And in this tutorial, we will show you those ways of inserting it into the cells.
Insert Diameter Symbol from Symbol Dialog Box
- First, select the cell where you want to insert the “Diameter” symbol, and then go to the “Insert” tab.
- After that, click on the “Symbol” icon under the “Symbols” group in the ribbon to open the symbol dialog box.

- Within the symbol dialog box, select “Calibri” in the “Font” field and then choose “ASCII (decimal)” in the “from” field.
- Now, scroll down a bit, select the “Diameter” symbol (Ø, character code 216), and then click on the “Insert” button to insert it.

- Once inserted, click on the “Close” button to close the dialog box.

Note: You have to click on the “Insert” button multiple times if you want to insert the “Diameter” symbol multiple times within a cell.

Insert Diameter Symbol Using AutoCorrect in Excel
If you are a frequent user of the “Diameter” symbol, then this “Auto Correct” method could be super-fast.
- First, go to the “File” tab in the ribbon and then click on “Options” and you will get the “Excel Options” dialog box opened.
- After that, click on “Proofing” from the left side panel and then click on “AutoCorrect Options”.

- Now, to replace any word with the “Diameter” symbol, enter that word in the “Replace” box and the “Diameter” symbol in the “With” box, using “Alt + 0216” on the numeric keypad.
- Once done, click OK to save it.

As we have used the word “Dia” to replace it with the “Diameter” symbol, from now on, the moment you enter the word “Dia” in a cell, it will get converted into the “Diameter” symbol. AutoCorrect works in all Office apps, so pick a word you don’t normally type.
Insert Diameter Symbol Using CHAR Function
You have to go to the cell where you want to insert it and type the “CHAR” formula with the code “0216” or “216”.
=CHAR(216)
CHAR uses the character set of your computer, so CHAR(216) gives Ø on Windows but a different character on a Mac. The UNICHAR function (Excel 2013 and later) gives the same symbol on both:
=UNICHAR(216)
There’s also a separate “diameter sign” in Unicode (⌀), which is used in technical drawings. It’s not in every font, but you can insert it with this formula:
=UNICHAR(8960)
And to add the symbol before a size from another cell, join them with &:
=UNICHAR(216)&" "&A1&" mm"

Insert Diameter Symbol Using Alt Key
The below method using the “ALT” key to insert this symbol only works if your keyboard has a numeric keypad on it.
- First, go to the cell.
- After that, press and hold the “Alt” key and then type “0216” on the numeric keypad only.
- Now, release the “Alt” key, and the symbol will get added to the cell.
Note
- For Mac users, simply press “Option + Shift + O” (the letter O) to insert the “Diameter” symbol (Ø), or “Option + O” for the lowercase ø.
- To insert or copy the symbol into multiple cells, simply use copy and paste, or drag the “Fill handle”.
Show the Diameter Symbol with a Number Format
If you type the symbol into a cell with a number, the number becomes text and you can’t use it in calculations. Instead, select the cells, press Ctrl + 1, go to Custom, and use the following format. The cell shows “Ø 25 mm”, but the value stays the number 25:
"Ø "0" mm"
Frequently Asked Questions
Why does Alt + 216 give a different symbol?
Without the leading zero, Windows uses an older character set, where 216 is a different character. Always type the 0 first: Alt + 0216.
Is the diameter symbol the same as the empty set symbol?
They look alike, but they’re different characters: Ø (code 216) is the letter used for diameter in most cases, ⌀ (code 8960) is the diameter sign, and ∅ (code 8709) is the empty set.
Can I count cells that have the diameter symbol?
Yes. Use COUNTIF with wildcards around the symbol:
=COUNTIF(A1:A10,"*Ø*")
Written by
Puneet Gogia
Microsoft MVP — Excel · Founder, Excel Champs
Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.