Skip to content
    TheCalculatorsCalculate Anything. Anytime.
    HomeCalculatorsCategoriesBlogAbout
    HomeCalculatorsCategoriesBlogAbout
    1. Home
    2. Developer
    3. Hex Calculator

    Hex Calculator

    Add, subtract, multiply and divide hexadecimal values — the programmer’s favourite base — with every operand and the result laid out in all four common bases. Invalid hex digits are flagged before any calculation happens.

    #hex calculator#hexadecimal#base 16#hex to decimal#decimal to hex

    TheCalculators — Hex Calculator

    Printed thecalculators.com

    All values below are interpreted in this base (default hex).

    Live mode: results update as you type.

    1A3F + 2B (base 16)

    1A6A

    Decimal: 6,762 · Addition in Hexadecimal (base 16)

    Base
    Hexadecimal (base 16)
    First value (A)
    1A3F
    Second value (B)
    2B
    Operation
    + Addition
    Result (base 16)
    1A6A
    Result (decimal)
    6,762
    A in decimal
    6,719
    B in decimal
    43
    GCD(A, B)
    1

    Conversion table (all bases)

    ValueDecimal (10)Binary (2)Octal (8)Hex (16)
    A = 1A3F6,7191101000111111150771A3F
    B = 2B43101011532B
    1A3F + 2B6,7621101001101010151521A6A

    How the result was computed

    1. 1Validate digitsHexadecimal (base 16) accepts digits 0–15. "1A3F" and "2B" both pass.
    2. 2Convert to decimalA = 1A3F₁16 → 6,719; B = 2B → 43
    3. 3Apply addition6,719 + 43 = 6,762
    4. 4Convert result back6,762 in base 16 → 1A6A

    Most useful next

    1A3F + 2B (base 16)

    1A6A

    Formula

    Result = (A)base op (B)base, computed in decimal and converted back

    Pro tips

    • • One hex digit encodes exactly 4 bits — FF is 11111111 in binary and 255 in decimal.
    • • Colors like #1A3F are just hex numbers for red, green and blue channels.
    • • Switch the base selector to 10 and the same tool works as a plain integer calculator.

    FAQ

    Related Calculators

    More Developer tools you might need.

    Binary Calculator

    Add, subtract, multiply or divide binary values and convert between base 2, 8, 10 and 16.

    Calculate

    Ip Subnet Calculator

    Split IPv4 networks — network, broadcast, host range, mask, wildcard and usable hosts from any CIDR.

    Calculate

    Big Number Calculator

    Add, subtract, multiply, divide and exponentiate very large numbers, with E-notation support.

    Calculate

    Scientific Calculator

    Full scientific keypad — sin, cos, tan, logs, roots, powers, memory and Deg/Rad, with instant exact results.

    Calculate
    TheCalculatorsCalculate Anything. Anytime.

    Your all-in-one destination for free online calculators. Simple. Fast. Accurate. Always here for you.

    Quick Links

    • Home
    • All Calculators
    • Categories
    • Blog
    • About Us
    • Contact

    Popular Categories

    • Health Calculators31
    • Finance Calculators62
    • Education Calculators9
    • Travel Calculators8
    • Everyday Calculators65
    • Developer Calculators7

    Resources

    • Calculator Guide
    • Tips & Tutorials
    • Calc of the Day
    • FAQs
    • Privacy Policy
    • Terms of Service
    • Sitemap

    © 2026 TheCalculators. All rights reserved. · 204 free tools and counting.

    Calculate Anything, Anytime.Made for a Smarter World

    /orCtrl Kto searchEscto close dialogsEnterto calculate