Engineering All versions ◉ 28 views

=HEX2DEC()

Converts a hexadecimal number to decimal.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=HEX2DEC(number)
Hover argument names in the table for details.
Output typeNumber/Text
Popularity28 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =HEX2DEC() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download HEX2DEC.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
number Text Required The hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.

▣ Examples

Converts hexadecimal A5 to decimal =HEX2DEC("A5")
Result: 165
Converts hexadecimal FFFFFFFF5B to decimal =HEX2DEC("FFFFFFFF5B")
Result: -165
Converts hexadecimal 3DA408B9 to decimal =HEX2DEC("3DA408B9")
Result: 1.034E+09

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.