---
title: OCT2BIN – แปลงฐาน 8 เป็นฐาน 2
url: https://www.thepexcel.com/functions/excel/engineering/oct2bin/
type: function-explainer
program: Excel
syntax: "=OCT2BIN(number, [places])"
date: 2025-12-02
updated: 2025-12-17
scores:
  popularity: 3
  difficulty: 5
  usefulness: 4
---

# OCT2BIN – แปลงฐาน 8 เป็นฐาน 2

> แปลงฐาน 8 เป็นฐาน 2

## คำอธิบาย

ฟังก์ชัน OCT2BIN ใน Excel ใช้สำหรับแปลงเลขฐานแปด (Octal) เป็นเลขฐานสอง (Binary) ซึ่งมีประโยชน์ในการคำนวณทางคอมพิวเตอร์และระบบดิจิทัล.

## Syntax

```excel
=OCT2BIN(number, [places])
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| number | Yes | Text |  | เลขฐานแปด |
| places | No | Number | 0 | จำนวนหลัก |

## ตัวอย่าง

### 1. ตัวอย่าง

```excel
=OCT2BIN(3, 3)
```

**ผลลัพธ์:** `011`

แปลงเป็น Binary

### 2. ตัวอย่าง (with different value)

```excel
=OCT2BIN(3, 4)
```

**ผลลัพธ์:** `Check formula`

Similar to previous example but with different input values. Formula: =OCT2BIN(3, 4) returns Check formula.

### 3. ตัวอย่าง (with variation 2)

```excel
=OCT2BIN(3, 9)
```

**ผลลัพธ์:** `Check formula`

Similar to previous example but with different input values. Formula: =OCT2BIN(3, 9) returns Check formula.

## ฟังก์ชันที่เกี่ยวข้อง

- [BIN2OCT – แปลงเลขฐานสองเป็นฐานแปด](https://www.thepexcel.com/functions/excel/engineering/bin2oct/)
- [DEC2BIN – แปลงตัวเลขฐาน 10 เป็นฐาน 2](https://www.thepexcel.com/functions/excel/engineering/dec2bin/)
- [HEX2BIN – แปลงฐาน 16 เป็นฐาน 2](https://www.thepexcel.com/functions/excel/engineering/hex2bin/)
- [OCT2DEC – แปลงเลขฐานแปดเป็นเลขฐานสิบ](https://www.thepexcel.com/functions/excel/engineering/oct2dec/)
- [OCT2HEX – แปลงฐาน 8 เป็นฐาน 16](https://www.thepexcel.com/functions/excel/engineering/oct2hex/)

## แหล่งข้อมูลเพิ่มเติม

- [Official Documentation](https://support.microsoft.com/en-us/office/oct2bin-function-55383471-3c56-4d27-9522-1a8ec646c589) _(official)_
- [ExcelJet](https://exceljet.net/excel-functions/excel-oct2bin-function) _(guide)_

---

_Source: [https://www.thepexcel.com/functions/excel/engineering/oct2bin/](https://www.thepexcel.com/functions/excel/engineering/oct2bin/)_
