The decimal equivalent of 1/2 is exactly 0.5, representing one of two equal parts of a whole. While this is elementary arithmetic, in electrical and electronics work, translating the spoken fraction "one-half" into the decimal "0.5" is the critical bridge between physical imperial hardware and digital circuit theory. Whether you are setting a microcontroller's PWM duty cycle, calculating a voltage divider ratio, or drilling a knockout hole for conduit, knowing exactly how 0.5 behaves in different contexts prevents ruined panels and fried logic boards.
The Core Conversion: Bridging Hardware and Theory
In pure mathematics, 1 divided by 2 yields 0.5. However, in the electrical trades and electronics engineering, this number changes form depending on the domain you are working in. What it changes in a real circuit or installation is your tooling and your code. When you are working with physical hardware, "1/2" usually refers to a trade size (like 1/2-inch EMT conduit or a 1/2-inch NPT threaded fitting). When you are working with circuit theory or programming, "0.5" refers to a ratio or scalar (like 50% duty cycle or half of Vcc). Digital multimeters, CAD software, and microcontroller compilers do not understand fractions; they require decimals. If you attempt to input a fraction into a Python script for an ESP32 or a parametric CAD model for an enclosure, the system will throw a syntax error. You must convert 1/2 to 0.5 to proceed.
0.5. When speaking to a supplier or writing a bill of materials for physical hardware, use the fraction 1/2" to ensure you get the correct trade-size component.
Worked Numeric Example: The 0.5 Vcc Voltage Divider
One of the most common places you will use the 0.5 decimal in electronics is when biasing a circuit or creating a reference voltage using a voltage divider. Let us look at a real-world scenario: biasing the non-inverting input of an op-amp or setting a threshold for a comparator on a 5.0V logic rail.
We use two identical resistors, R1 and R2. The formula for the output voltage (Vout) is:
Vout = Vin × (R2 / (R1 + R2))
If we use two 10,000Ω (10kΩ) 1% tolerance resistors, the ratio becomes:
10,000 / (10,000 + 10,000) = 10,000 / 20,000 = 1/2
Converting that fraction to our decimal equivalent:
Vout = 5.0V × 0.5 = 2.5V
This 0.5 scalar is foundational. As detailed in standard resistor network tutorials, a 0.5 ratio is the standard method for creating a virtual ground in single-supply audio circuits, effectively splitting a 9V battery into +4.5V and -4.5V relative to the new virtual ground.
Where You Meet This in Practice
The translation between the fraction 1/2 and the decimal 0.5 shows up in two vastly different areas of electrical work: physical installation and digital signal processing.
Physical Hardware: The Trade Size Trap
If you are bending conduit or drilling enclosure holes, you will frequently encounter "1/2-inch" hardware. Here is where people commonly confuse the name of the part with its actual decimal measurement.
- 1/2" EMT Conduit: The trade size is 1/2", but the actual Outside Diameter (OD) is 0.706 inches. If you set your digital calipers to 0.500" and try to measure the conduit, you will think you have the wrong size.
- 1/2" Knockout Punch: To pull 1/2" EMT through a steel panel, you need a knockout punch that creates a hole large enough for the conduit and the locknut. A standard 1/2" knockout punch actually cuts a hole of approximately 0.875 inches (7/8") in diameter.
- 1/2" NPT Threads: If you are tapping a hole for a 1/2" National Pipe Taper (NPT) fitting, the tap drill size is 23/32" (0.718"), not 0.500".
Digital Signals: PWM Duty Cycles
In microcontroller programming, a 50% duty cycle is represented as the decimal 0.5. However, microcontrollers do not accept "0.5" directly into their PWM registers; they require an integer mapped to their specific bit-resolution. According to the Arduino analogWrite reference, you must multiply your 0.5 decimal by the maximum register value.
- 8-bit resolution (Standard Arduino Uno): Max value is 255.
255 × 0.5 = 127.5. You must round to 128. - 10-bit resolution (Some ESP8266 defaults): Max value is 1023.
1023 × 0.5 = 511.5. Round to 512. - 16-bit resolution (ESP32 LEDC peripheral): Max value is 65535.
65535 × 0.5 = 32767.5. Round to 32768.
Decision Path: Fractions vs. Decimals in the Field
Use this decision tree to determine whether you should be using the spoken/written fraction "1/2" or the mathematical decimal "0.5" for your current task.
| Your Current Task | Required Format | Exact Value to Use | Why? |
|---|---|---|---|
| Writing C++/Python code for PWM or motor control | Decimal / Integer | 0.5 (mapped to register) | Compilers require floating-point decimals; hardware registers require the integer result of 0.5 * max_resolution. |
| Designing a voltage divider or op-amp bias network | Decimal | 0.5 | SPICE simulators and multimeters calculate and display in base-10 decimals. |
| Purchasing EMT conduit, rigid pipe, or flexible metallic tubing | Fraction (Trade Size) | 1/2" | Suppliers and the NEC use trade sizes. Asking for "0.706 inch conduit" will cause confusion at the supply house. |
| Drilling a panel hole for a 1/2" conduit coupling | Decimal (for tooling) | 0.875" (7/8" bit) | The physical hole must clear the locknut, not the nominal trade size. |
| Sizing a fractional horsepower motor for a load | Fraction (Nameplate) | 1/2 HP | Motors are sold by fractional HP ratings, even though 0.5 HP equals roughly 373 Watts. |
The Default Pick: If you are doing math, writing code, or setting digital calipers, default to 0.5. If you are ordering hardware from a catalog or speaking to an electrician on a jobsite, default to 1/2".
Common Confusions and Mistakes to Avoid
Beyond physical measurements, the concept of "one-half" causes critical errors when calculating power and current.
The 1/2 HP Motor Fallacy
A very common mistake among DIYers is assuming a 1/2 HP (0.5 HP) motor running on a 120V AC circuit will draw a proportional fraction of an amp. This is false. One mechanical horsepower equals approximately 746 Watts. Therefore, 0.5 HP equals 373 Watts of mechanical output. Because AC motors are not 100% efficient and have a power factor of less than 1.0, the electrical input is much higher. A typical 1/2 HP single-phase 120V motor will draw between 4.0 and 5.5 Amps under full load. If you size your breaker and wire based on "0.5 Amps", you will trip the breaker instantly and risk a fire. Always read the motor nameplate for the actual Full Load Amps (FLA).
AC Half-Wave Rectification
In AC theory, a half-wave rectifier only passes one half (0.5) of the AC sine wave. However, the resulting DC voltage is not simply 0.5 times the RMS voltage. The average DC output of a half-wave rectifier is Vpeak / π (approximately 0.318 × Vpeak), not 0.5 × Vpeak. Confusing the physical "half" of the wave cycle with a 0.5 mathematical multiplier will result in severely under-designing your power supply filters.
FAQ: Fractional and Decimal Conversions
Q: What is 1/2 as a percentage?
A: 1/2 is exactly 50%. In electronics, this is most frequently referenced as a 50% duty cycle on a square wave or PWM signal.
Q: How do I type 1/2 into a calculator for electrical math?
A: Always use the division key or the decimal equivalent. Type 1 ÷ 2 or 0.5. Never type 1/2 as a string of characters, as some basic calculators will interpret the slash as an error or a date separator.
Q: Is a 1/2 inch drill bit exactly 0.500 inches?
A: Yes, a standard 1/2" twist drill bit is manufactured to a nominal diameter of 0.500 inches (though it may cut a hole slightly larger, around 0.505", due to bit deflection and runout). However, remember that this physical 0.500" measurement has nothing to do with the trade size of 1/2" electrical fittings.
Q: What is the decimal equivalent of 1/2 AWG wire?
A: This is a trick question. The American Wire Gauge (AWG) system does not use fractions. There is no "1/2 AWG" wire. Wire sizes step in whole numbers (e.g., 2 AWG, 1 AWG, 1/0 AWG). If you see "1/2" on a wire spool, it refers to the diameter in inches or the trade size of the conduit the wire is rated for, not the AWG.






