
Resistor color code
Calculate resistor color code using the values and assumptions you provide.
Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.
Method and assumptions
Method version 1.0.0 · Updated
Calculate
Formula: R = (10d₁ + d₂) × 10ᵐ Ω
Calculate resistor color code using the values and assumptions you provide.
- digit1
- First digit (0–9)
- digit2
- Second digit (0–9)
- multiplier
- Multiplier exponent
Results depend on the assumptions entered; verify professional or safety-critical decisions independently.
Calculate with code
These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.
JavaScript
const digit1 = 4, digit2 = 7, multiplierPower = 2;
console.log((digit1 * 10 + digit2) * 10 ** multiplierPower); // 4700 ΩTypeScript
const d1 = 4, d2 = 7, multiplier = 2;
const ohms: number = (d1 * 10 + d2) * 10 ** multiplier;
console.log(ohms); // 4700 ΩPython
d1, d2, multiplier = 4, 7, 2
print((d1 * 10 + d2) * 10**multiplier) # 4700 ΩJava
System.out.println((4 * 10 + 7) * Math.pow(10, 2)); // 4700 ΩC#
Console.WriteLine((4 * 10 + 7) * Math.Pow(10, 2)); // 4700 Ω