# Convertitore da esadecimale a decimale > Quanto vale un numero esadecimale in decimale? Trasforma un numero esadecimale come FF o 1A3 in un normale numero decimale. Converti esadecimale in decimale: inserisci le cifre hex e leggi subito il numero intero, anche in binario e ottale. Per numeri di ogni grandezza. A preset of [Convertitore di basi numeriche](https://how.box/it/number-base/). - Page: https://how.box/it/hex-to-decimal/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/it/about/terms/ ## Inputs Answer link: https://how.box/it/hex-to-decimal/?v={v}&from={from}&to={to}&upper={upper} - `v` (text): The number, written in the base from. Example: `255`. - `from` (whole number 2 to 36): The base the number is written in, 2–36. Example: `10`. - `to` (whole number 2 to 36): The base to convert to, 2–36. Example: `16`. - `upper` (boolean): Upper-case letters in the result: 1 or 0. Example: `false`. Example answer: https://how.box/it/hex-to-decimal/?v=255&from=10&to=16&upper=0 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `number_base_convert`: Converts a whole number of any size between bases 2 and 36 (binary, octal, decimal, hexadecimal and the rest). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"number_base_convert","arguments":{"value":"255","from":10,"to":16,"uppercase":false}}}` - GET: https://how.box/mcp/run/number_base_convert?value=255&from=10&to=16&uppercase=false ## How it works Le cifre esadecimali vanno da 0 a 9 e poi da A a F per dieci-quindici. Ogni posizione vale 16 volte quella alla sua destra, quindi un numero esadecimale di tre cifre ha posizioni da 256, 16 e 1. Per 1F4 significa 1 × 256 + 15 × 16 + 4 × 1, che fa 500. La lettera F vale quindici, quindi è la cifra singola più grande. L’esadecimale compare ovunque si scrivano dei byte: codici colore come #FF8800, indirizzi di memoria, codici di errore e indirizzi MAC. Due cifre esadecimali sono un byte, quindi una coppia sta sempre tra 0 e 255. Un altro esempio: 3A7 è 3 × 256 + 10 × 16 + 7 × 1, cioè 935. Un codice colore come #FF8800 è fatto di tre coppie: FF è 255, 88 è 136 e 00 è 0. Quattro cifre esadecimali coprono da 0 a 65.535. I programmatori scrivono spesso l’esadecimale con il prefisso 0x, come 0x1F4, per indicare che le cifre non sono decimali. ## FAQ **Quanto vale FF in decimale?** 255: F è quindici, e 15 × 16 + 15 = 255. È il valore più grande che un byte può contenere. **Che cosa significano le due cifre esadecimali di un colore?** Ogni coppia è un canale di colore (rosso, verde o blu) da 00 a FF, cioè da 0 a 255 in decimale. **0x10 è sedici o dieci?** Sedici. Il prefisso 0x indica che le cifre sono esadecimali, e 10 in esadecimale è 1 × 16 + 0. **Quanti valori entrano in quattro cifre esadecimali?** 65.536, da 0000 a FFFF, cioè da 0 a 65.535 in decimale. Ogni cifra esadecimale ha 16 valori, e 16 × 16 × 16 × 16 fa 65.536. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/it/about/agents/)