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

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
School

Magnetic Field

Bar magnets and current-carrying wires with field line visualization.

Launch Simulator
School

Electromagnetic Induction

Move magnet through coil. Faraday's law visualized.

Launch Simulator
NewSchool

Ideal Transformer

U₂/U₁ = N₂/N₁. Optional load R for I₁, I₂ (ideal power).

Launch Simulator
NewUniversity / research

Mutual Inductance

Coupled L₁, L₂ with k and M; sinusoidal primary drives secondary current through R₂.

Launch Simulator
NewUniversity / research

Mass Spectrometer (Sector)

Velocity selector v = E/B then magnetic sector: different m/q bend to different radii (2D schematic).

Launch Simulator
NewUniversity / research

Resonant Transformer (Tesla-style)

Coupled RLC tanks; tune f_drive near secondary ω₀ to grow V on high‑Q side (linear coupled ODEs).

Launch Simulator
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

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

Interactive bands

Leads (silver) — tan body — four 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%

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.