The quick answer

Column 27 is AA, and column 16384, the last column an .xlsx worksheet can hold, is XFD. Paste letters and the converter returns the number; paste a number and it returns the letters; the direction is detected from the input itself, so there is no mode switch to set. The conversion runs in your browser, so nothing uploads.

What the Excel Column Letter Converter does

The Excel Column Letter Converter is one input box with a live output panel beside it, labeled Input and Converted output. The input accepts either direction: typing 28 prints Number 28 = AB, and typing AB prints Column AB = 28. Detection is automatic because the two inputs look different; a string of letters is read as a column reference, anything else as a number. Case does not matter, since ab, AB and Ab all convert as column 28.

Results recompute on every keystroke, with no calculate button. The output panel carries a Copy button for the clipboard, a Download button that writes the result to a text file, and a Clear button that empties the input. Closing the tab erases everything, because the conversion is JavaScript running in the page rather than a request to a server.

How to convert a column number or letter

The workflow is one paste and one read; the steps below add the round trip and a check you can do in your head.

  1. Paste one value

    Type or paste a number such as 57, or a column letter such as BE. One value per paste; the converter is built for single lookups, not lists.

  2. Read the labeled output

    The output names the direction it took: Number 57 = BE, or Column BE = 57. A wrong guess is visible immediately.

  3. Copy, download, or feed the result back

    Copy puts the result on the clipboard and Download saves it as a text file. Because the result text differs from the input, the panel also shows a Use as input button that pipes the output back for a second conversion.

  4. Check it against two anchors

    Column 26 is Z and column 27 is AA; any answer that disagrees is an input problem, not a math problem. The next section shows the arithmetic to verify by hand.

The bijective base-26 arithmetic behind A1

Excel's column letters follow a counting system with no zero digit: counting runs A to Z for columns 1 to 26, then AA to AZ for 27 to 52, then BA at 53 onward. Mathematicians call this bijective base-26, and the missing zero is the reason the conversion subtracts 1 before dividing. Letters to numbers is a positional sum: XFD is 24×676 + 6×26 + 4 = 16,384. Numbers to letters is the inverse loop: subtract 1, take the remainder mod 26 to pick a letter, divide by 26, repeat.

The 27-to-AA pair proves both directions in seconds. Going from number to letters, (27 − 1) mod 26 = 0 picks A, and floor((27 − 1) / 26) = 1 leaves one more round, which picks A again, giving AA. Going from letters to number, 24×676 + 6×26 + 4 = 16,384 for XFD, exactly the column count of an .xlsx worksheet.

Number to letters, verified

Input

27

Output

Number 27 = AA
Letters to number, verified

Input

XFD

Output

Column XFD = 16384

Who looks column numbers up

Spreadsheet developers are the core users: openpyxl, XlsxWriter and Apache POI address cells by column index, while specs and tickets speak in letters, so a change request that says column BE needs BE = 57 before anyone writes the loop. Finance analysts meet the same gap in models built on INDEX, MATCH and INDIRECT("CZ"&row), where converting CZ to 104 is the fastest way to see which physical column a mapping table means.

Data engineers map CSV exports onto workbook columns, where field 57 of a feed is column BE to the recipient. QA teams spot-checking generated spreadsheets use the same two anchors: column 26 is Z, column 27 is AA.

What runs where

The conversion is pure arithmetic on integers, executed in JavaScript in the tab. No upload happens, no server copy exists, and the page keeps answering after you disconnect, because there is nothing left for it to ask a server for.

Edge cases: zero, negatives and the XFD ceiling

  • Zero and negative numbers return no letters. There is no zero in bijective base-26, so counting starts at A = 1, and the output for 0 or −3 is an empty result.
  • Letters past XFD still convert. The arithmetic has no 16,384 ceiling, and Google Sheets allows more than 16,384 columns, but an .xlsx worksheet refuses any column past XFD. Old .xls workbooks stop earlier, at IV, column 256.
  • Mixed input such as AB1 or 27, 28 converts to an empty result. The letters-only test fails and the number parse of the whole string returns NaN, so the output prints the input with nothing after the equals sign. Paste just the letters (AB) or just the number (28).

Those are the only conventions in play: the A1 lettering scheme itself, and the 16,384-column ceiling the .xlsx format enforces. Everything else is exact integer arithmetic, so the same input always produces the same output.

Working with column letters faster

Two habits cover most repeat use. Bookmark the page, since a lookup that happens twice a week saves real time when it is one keystroke away. And validate first on any unfamiliar tool: 27 in, AA out is a ten-second check before trusting a converter with the numbers that matter.

When the result is empty, the cause is almost always the input: a 0 or a negative number has no letters, and a pasted cell reference such as AB1 mixes a row number into the letters. The fix is one clean value, the letters alone or the number alone.

Frequently asked questions

Where does my input go when I convert a column number or letter?

Nowhere. The conversion is a few lines of JavaScript running inside your browser tab, with no upload and no stored copy. Load the page, disconnect from the network, and it still answers; close the tab and your input is gone.

What is the largest column Excel supports?

XFD, which is column 16384, the ceiling for .xlsx workbooks since Excel 2007. Older .xls files stop at IV, column 256. The converter computes letters past XFD (Google Sheets allows more columns), but an Excel worksheet itself refuses anything beyond XFD.

Why is there no column zero or a column A0?

Because Excel's lettering is bijective base-26, a counting system with no zero digit. Counting runs A to Z for columns 1 to 26, then AA to AZ for 27 to 52; a 0 never appears. That is why the arithmetic subtracts 1 before dividing, and why 0 and negative numbers return no letters at all.

Do you store what I enter into the Excel Column Letter Converter?

No. Everything processes on your device with JavaScript, so your inputs are never transmitted, logged or retained. Refresh the page and everything you entered is gone.

Does the Excel Column Letter Converter work on mobile?

Phone, tablet or desktop, the converter adapts. The two panels stack on narrow screens, the input stays touch-friendly, and the computation happens locally on the device either way.

Does it convert a whole list of numbers at once?

One value per paste; the converter is built for instant single lookups, not batch translation. For bulk work, loop a division in Python with openpyxl's get_column_letter, or use a spreadsheet formula; the arithmetic section above shows the exact loop to copy.

How accurate is the conversion?

Exact. Both directions are integer arithmetic on a fixed rule, a positional sum for letters to numbers and a division loop for numbers to letters, so the same input always produces the same output. Check any result against the worked examples above: 27 is AA, and XFD is 16384.

Is the Excel Column Letter Converter free to use?

Yes. There is no signup and no usage meter; the converter runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either.

Tools that pair well with column math

The related links below stay inside the spreadsheet workflow: explaining and formatting formulas, building lookups, and moving CSV data into workbooks. The links exist because people chain these tools, not for keyword decoration.

Sources and further reading

The references above are the primary sources for the two facts that matter here: A1 lettering is bijective base-26, and .xlsx workbooks end at column XFD, 16,384 columns wide.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.