Zoho Sheet OCT2DEC Function: Octal to Decimal with Examples
Convert octal values to decimal in Zoho Sheet with exact datasets, place-value checks, documented limits and practical examples.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
OCT2DEC converts a octal representation into decimal. For the positive integer 42, the source numeral is 52 and the converted result is 42. The base changes; the represented quantity does not. The decimal result is useful for arithmetic on values supplied in another base.
Syntax and availability
OCT2DEC(octal_number)
Zoho’s official OCT2DEC entry was checked on October 15, 2026. It describes the rolling web service. The first supported release and last functioning version are unknown; current documentation is separate from those historical endpoints. Mobile/offline parity is unverified. Results below are independent integer calculations, not native Zoho execution.
The required source contains at most ten characters, using only 0 through 7. Numeric literals in the examples are digit sequences in the source base, not ordinary decimal quantities. The checked entry does not fully specify signed interpretation of maximum-width values; these examples use small positive values and make no unsigned or two’s-complement promise at that boundary.
There is no output-width argument. Leading zeroes used only for a source identifier’s layout are not preserved by conversion to a decimal quantity. Keep the original input when its exact written form matters.
Visible official control
Zoho explicitly gives =OCT2DEC(77) with result 63. This provides a compact starting control before working with cell references. Other vendor examples refer to cells whose inputs are not visible in the extracted help; the complete worksheet below supplies its own inputs rather than inventing those hidden cells.
Complete reproducible worksheet
Create Conversions with Source in A1, Decimal_check in B1, Converted in C1. Enter the following values in A2:B7. Enter the source numerals exactly as shown, without grouping commas or base prefixes. Column B is an independent explanatory value, not an argument to the conversion formula.
| Row | A: source | B: decimal check | C: expected |
|---|---|---|---|
| 2 | 1 | 1 | 1 |
| 3 | 7 | 7 | 7 |
| 4 | 17 | 15 | 15 |
| 5 | 52 | 42 | 42 |
| 6 | 77 | 63 | 63 |
| 7 | 377 | 255 | 255 |
Enter C2 =OCT2DEC(A2) and fill through C7.
In a copy change A5 from 52 to 53 and update its explanatory B5 to 43. C5 becomes 43. Other records remain unchanged. This gives a one-unit sensitivity check with a fully specified input.
Advanced: calculate with octal-coded observations
Suppose an instrument’s documentation explicitly labels its counter readings as octal. Put 17 and 20 in G2:G3 and fill H2 =OCT2DEC(G2) through H3. The expected decimal readings are 15 and 16. I3 =H3-H2 is 1; subtracting the original visible numerals would instead give 3, which is not the counter increment.
For a three-digit control, =OCT2DEC(751) gives 489, independently checked as 7×64+5×8+1. If the next reading is 752, its decimal value is 490 and the increment is again one. This example assumes ordinary positive values with no counter wraparound. A real device may define a modulus or signed encoding that needs its own documented handling.
Keep the raw input column unchanged, add the converted decimal column, and perform differences or summaries on that numeric column. Do not apply OCT2DEC merely because a column happens to contain digits 0–7; ordinary decimal values often do too. The source format, rather than the character pattern alone, establishes the intended base.
Errors and troubleshooting
The official entry identifies invalid source digits as #NUM!. Thus OCT2DEC(8) is an invalid-digit control. Respect the ten-character input contract; the checked page does not separately establish an exact error token for every overlength, signed or malformed value.
The shared help glossary mentions name, type and reference errors without defining a complete coercion matrix for this function. Check the source base, legal characters, cell type and literal quotation before investigating more complex formulas. Do not add 0x, 0b or other programming-language prefixes unless a product reference explicitly permits them.
Keep conversion and arithmetic separate. A nondecimal display can look like a decimal number, yet ordinary subtraction on that display need not measure the intended change. Preserve raw identifiers, document the source’s sign and width convention, and verify exported leading zeroes in the receiving system. Matching function names across spreadsheet products do not establish identical limits or behavior.