Electrical Energy Calculator
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open toolCalculation needs JavaScript. If it does not load, the instructions and formulas below remain available.
Convert signed whole numbers between decimal, binary, octal and hexadecimal, and explore how each bit contributes to the value.
Choose the base of your input, then enter a whole number. Binary uses 0–1, octal 0–7, decimal 0–9 and hexadecimal 0–9 plus A–F.
Optional 0b, 0o and 0x prefixes must match the selected base. A leading plus or minus sign is allowed; fractional values and separators are not.
Read the same integer in all four result rows. Copy one representation or copy all four labeled values.
Use the bit explorer to turn a magnitude bit on or off. Higher bits and Lower bits move the visible window without changing the number.
Open Show place values for the contribution of the visible bits. Reset clears the input and restores the starting base.
A positional number system assigns each digit a weight based on its position. In base b, the weights are 1, b, b² and so on. Changing the base changes the written representation, not the integer.
Binary uses two digits, octal uses eight and hexadecimal uses sixteen. One hexadecimal digit corresponds to four binary bits; one octal digit corresponds to three bits.
This tool keeps integer arithmetic exact within its 4,096-bit magnitude limit. It does not pass large integers through binary floating-point Number values.
A negative integer is displayed with a minus sign and its magnitude in every base. The bit explorer is not a fixed-width signed machine representation and does not infer two’s complement.
Positional value: N = sign × Σ(dᵢ × bⁱ)
Binary magnitude: magnitude = Σ(bitᵢ × 2ⁱ)
Hexadecimal grouping: 1 hexadecimal digit = 4 binary bits
Octal grouping: 1 octal digit = 3 binary bits
255 in decimal: 11111111 binary; 377 octal; FF hexadecimal. Eight set bits have weights 128 through 1, which add to 255.
-42 in decimal: -101010 binary; -52 octal; -2A hexadecimal. The minus sign is separate from the magnitude.
0x1000000000000000 in hexadecimal: 1152921504606846976 decimal. Exact integer conversion does not depend on Number's safe-integer limit.
0000 in decimal: 0 in every base. Leading zeros are normalized.
Available now
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open tool →Available now
Add up to 20 resistors in series using Ω, kΩ or MΩ for circuit analysis and electricity calculations, with a diagram and running total.
Open tool →Available now
Convert absolute temperatures between Celsius, Fahrenheit and kelvin.
Open tool →Given the fact that this was my first purchase and I made it thinking I was buying genuine Yihua products, this has been a setback. I received a lesser known OEM brand called MYTO and while both the products seem to be similar from appearance, my real contention is the quality and quantity of the brass wool. On top of that not informing the customer about the unavailability of the Yihua product and instead sending a product from a different brand is also antagonising. Henceforth, I might just have to think twice before ordering from ThinkRobotics.
TOF MINIF Range Sensor - UART TOF Time-of-Flight Laser Range Sensor
We are disappointed with our recent order experience. We clearly communicated our requirement for 433 MHz antennas on WhatsApp, but the issue remains unresolved. We have been following up for more than 10 days and are still waiting for a proper refund resolution.
As a regular B2B customer, we expected better support. This experience has affected our trust in ThinkRobotics, and we may have to consider other suppliers for future purchases. We request a fair and prompt refund.
Anodised Aluminium Cup Head Washers (Pack of 10)