PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 65 in Electricity & Magnetism.

View category →
FeaturedSchool

Circuit Builder

Launch Simulator

Drag and drop components: battery, resistor, bulb, switch. See current flow.

School

Ohm's Law

Launch Simulator

Adjust voltage and resistance. See current change with interactive V-I graph.

School

Series & Parallel

Launch Simulator

Compare total resistance and current distribution side by side.

School

RC Circuit

Launch Simulator

Charging and discharging capacitor with exponential curves.

NewSchool

DC Motor & Generator

Launch Simulator

Coil in B: motor V = IR + kω, generator E = kω into a load — same k, two modes.

NewSchool

Electric Potential

Launch Simulator

2D heatmap V = Σ kq/r. Drag charges, see equipotential colors.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Resistor Color Code

Resistor Color Code

Click bands to see resistance, or enter value to see bands.

4-band resistor

Uses two significant digits (10–99) and a multiplier. Very large/small values may not map exactly.

Shortcuts

  • •Click any band to cycle colors
  • •Type value (e.g. 4.7k) and Apply

Measured values

Resistance4.700 kΩ
Tolerance±5%

Interactive bands

Leads (silver) — tan body — four bands

About this model

Resistor Color Code simulators decode the standardized color bands used to mark the resistance value and tolerance of through-hole resistors. The core principle is Ohm's Law, V = IR, which defines resistance (R) as the ratio of voltage (V) to current (I). Since directly printing tiny numeric values on small components is impractical, a color-coding system was developed. This model implements the international IEC 60062 standard. It calculates resistance using the formula R = ( (10 × digit1 + digit2) × 10^multiplier ) ohms, where the first two or three bands provide significant figures, the next band is the decimal multiplier, and a final band indicates tolerance (e.g., ±5%). The simulator simplifies real-world components by assuming perfect, ideal resistors and focusing solely on the coding scheme for standard 4-band and 5-band resistors. It does not model other color codes for temperature coefficient or reliability, nor does it calculate the actual current or voltage in a circuit. By interacting, students learn to translate between color patterns and numerical values, reinforcing place value, scientific notation, and the concept of manufacturing tolerance. They gain practical skills for identifying components, a foundational task in electronics prototyping and repair.

Who it's for: High school physics and introductory electronics students learning circuit fundamentals, as well as hobbyists and technicians needing to identify electronic components.

Key terms

  • Ohm's Law
  • Resistance
  • Tolerance
  • Color Code
  • Multiplier Band
  • Significant Figures
  • IEC 60062
  • Electronic Component

How it works

Four-band resistors encode two significant digits, a decimal multiplier, and tolerance. Click each band to cycle colors, or enter a target resistance (supports k/M/G suffixes) to snap the bands to the nearest valid 4-band code.

Key equations

R = (10·d₁ + d₂) × 10^m (m from multiplier color)

Frequently asked questions

Why are there 4-band and 5-band resistors?
Four-band resistors provide two significant figures and are used for values with lower precision (typically ±5% or ±10% tolerance). Five-band resistors provide three significant figures and are used for more precise values (e.g., ±1% tolerance). The extra band allows for a more specific resistance value to be encoded, which is critical in sensitive circuits.
What happens if I read the bands in the wrong direction?
You will get a completely incorrect resistance value, often off by many orders of magnitude. The tolerance band (usually gold, silver, or a wider spaced band) is the key to orientation. Always start reading from the end opposite the tolerance band. A common check is that the first band is never black (0).
Is the color code used for other electronic components?
Yes, a similar color-coding system is sometimes used for inductors and older capacitors. However, the standards and color meanings can differ. This simulator specifically models the standard for fixed resistors, which is the most common and essential system to learn first.
Why is tolerance important?
Tolerance indicates the allowable percentage variation from the marked resistance value due to manufacturing processes. A 1000Ω resistor with a ±5% tolerance could actually be anywhere from 950Ω to 1050Ω. In some circuits, like voltage dividers or timing circuits, this variation can affect performance, so choosing an appropriate tolerance is a key design consideration.