Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Passive Components
  4. ›Resistors Explained
Step 3 of 18 in Electronics from zeroPart of a learning path.
Next

Component guide · Beginner · 4 min read

Resistors Explained

Colour Codes, Ohm's Law and Choosing Values

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWhat does a resistor do?Resistor colour code chartCommon values to recogniseReading SMD resistor codesChoosing the power ratingVoltage divider formulaTry itCommon mistakesFAQsParts and next steps
Short answer

A resistor limits the current flowing in a circuit. Its value in ohms (Ω) follows Ohm's law: voltage = current x resistance (V = I x R). Through-hole resistors show their value with coloured bands; for example brown-black-orange-gold is 10 kΩ ±5%. Choose the value from Ohm's law and a power rating at least twice the power it will dissipate.

Key specs at a glance

Unit
Ohm (Ω); 1 kΩ = 1,000 Ω; 1 MΩ = 1,000,000 Ω
Ohm's law
V = I x R, so R = V / I and I = V / R
Power
P = I² x R = V² / R
Common power ratings
1/8 W, 1/4 W (most breadboard resistors), 1/2 W, 1 W and up
Tolerance
±5% (gold band, carbon film), ±1% (brown band, metal film)
Standard series
E12 (10% steps), E24 (5%), E96 (1%)
01

What does a resistor do?

A resistor resists current. In practice that lets you:

Limit current

through LEDs and transistor bases.

Set voltages

with a voltage divider, for example to read a 12 V battery with a 3.3 V ADC.

Hold pins at a known level

with pull-up and pull-down resistors (10 kΩ is typical for buttons, 4.7 kΩ for I2C).

Set timing

with a capacitor, as in the 555 timer.

02

Resistor colour code chart

On a 4-band resistor, bands 1 and 2 are digits, band 3 is the multiplier and band 4 is tolerance. On a 5-band resistor, bands 1 to 3 are digits, band 4 the multiplier and band 5 the tolerance. Read from the end with the bands bunched together; the tolerance band is set slightly apart.

ColourDigitMultiplierTolerance
Black0x1
Brown1x10±1%
Red2x100±2%
Orange3x1k
Yellow4x10k
Green5x100k±0.5%
Blue6x1M±0.25%
Violet7x10M±0.1%
Grey8
White9
Goldx0.1±5%
Silverx0.01±10%
Black
Digit:
0
Multiplier:
x1
Brown
Digit:
1
Multiplier:
x10
Tolerance:
±1%
Red
Digit:
2
Multiplier:
x100
Tolerance:
±2%
Orange
Digit:
3
Multiplier:
x1k
Yellow
Digit:
4
Multiplier:
x10k
Green
Digit:
5
Multiplier:
x100k
Tolerance:
±0.5%
Blue
Digit:
6
Multiplier:
x1M
Tolerance:
±0.25%
Violet
Digit:
7
Multiplier:
x10M
Tolerance:
±0.1%
Grey
Digit:
8
White
Digit:
9
Gold
Multiplier:
x0.1
Tolerance:
±5%
Silver
Multiplier:
x0.01
Tolerance:
±10%
03

Common values to recognise

Bands (4-band)ValueTypical use
Red, red, brown, gold220 ΩLED on 5 V
Orange, orange, brown, gold330 ΩLED on 5 V, WS2812B data line
Brown, black, red, gold1 kΩTransistor base, voltage divider
Yellow, violet, red, gold4.7 kΩI2C pull-ups
Brown, black, orange, gold10 kΩButton pull-up or pull-down, DHT22 data
Brown, black, yellow, gold100 kΩHigh-impedance dividers, battery monitoring
Red, red, brown, gold
Value:
220 Ω
Typical use:
LED on 5 V
Orange, orange, brown, gold
Value:
330 Ω
Typical use:
LED on 5 V, WS2812B data line
Brown, black, red, gold
Value:
1 kΩ
Typical use:
Transistor base, voltage divider
Yellow, violet, red, gold
Value:
4.7 kΩ
Typical use:
I2C pull-ups
Brown, black, orange, gold
Value:
10 kΩ
Typical use:
Button pull-up or pull-down, DHT22 data
Brown, black, yellow, gold
Value:
100 kΩ
Typical use:
High-impedance dividers, battery monitoring
04

Reading SMD resistor codes

Surface-mount resistors use numbers: the first two (or three) digits are the value and the last is the number of zeros. 103 = 10 followed by 3 zeros = 10 kΩ; 4701 = 4.7 kΩ; R marks a decimal point, so 4R7 = 4.7 Ω. Tiny 0402 parts are often unmarked; measure them with a multimeter.

05

Choosing the power rating

Calculate the power, then pick a rating at least twice as high so the resistor stays cool. Example: an LED resistor of 220 Ω carrying 15 mA dissipates 0.015² x 220 = 0.05 W, so a 1/4 W part is ample. A 10 Ω resistor carrying 0.5 A dissipates 2.5 W and needs a 5 W wire-wound resistor.

06

Voltage divider formula

Vout = Vin x R2 / (R1 + R2), where R1 connects to Vin and R2 to ground. To read up to 15 V with a 3.3 V ADC: R1 = 39 kΩ and R2 = 10 kΩ give 15 x 10 / 49 = 3.06 V. Keep divider currents small for batteries (100 kΩ range), but not so large that ADC readings become noisy.

07

Try it: Ohm's law calculator

Change the values and the diagram and results update as you type.

08

Common mistakes to avoid

  • !Reading the colour bands from the wrong end.
  • !Using a 1/4 W resistor where the power is over 0.125 W.
  • !Measuring a resistor while it is still in a powered circuit.
  • !Using a divider to power something; it only works for signals with tiny currents.
  • !Forgetting that 5% tolerance means a 10 kΩ resistor may read between 9.5 and 10.5 kΩ.
09

Frequently asked questions

How do I read a resistor colour code?

Hold the resistor with the tolerance band (gold or silver) on the right. Read the first two bands as digits and the third as the number of zeros. Brown-black-orange = 1, 0, three zeros = 10,000 Ω (10 kΩ).

What resistor do I need for an LED?

R = (supply voltage - LED forward voltage) / current. For a red LED on 5 V at 15 mA: (5 - 2) / 0.015 = 200 Ω, so use the next standard value, 220 Ω.

Does it matter which way round a resistor goes?

No. Resistors are not polarised; either orientation works.

What is a pull-up resistor?

A resistor from a signal pin to the supply that keeps the pin high when nothing drives it low, such as an unpressed button. 10 kΩ is typical; many microcontrollers have internal pull-ups.

What is the difference between carbon film and metal film resistors?

Metal film resistors have tighter tolerance (usually ±1%), lower noise and better temperature stability. Carbon film resistors (±5%) are cheaper and fine for most hobby circuits.

Parts for this guide

  • Resistor Assortment Kit (30 Values)
    ₹33View
  • Carbon Film Resistor 1/4W 5% (Pack of 10)
    ₹9View
  • Digital Multimeter
    ₹177View
Shop ResistorsShop Potentiometers & Trimmers

Calculators

Ohm's law calculatorResistor colour code calculatorSMD resistor code calculatorPower dissipation calculatorStandard values calculatorVoltage divider calculator

Terms in this guide

Ohm's lawV = I x R: voltage equals current times resistance.Pull-up resistorA resistor from a signal line to the supply that keeps the line high when nothing pulls it low.Voltage dividerTwo resistors in series that output a fixed fraction of the input voltage.ToleranceHow far a component's actual value may differ from its marked value, such as ±5%.

Projects that use it

Put this into practice: 12 step-by-step builds in our project library use parts from this guide.

Intermediate · 2 hoursProgram a bare AVR microcontroller on a breadboard with Arduino as ISPView projectIntermediate · 2 hoursWireless sensor link between two Arduinos with nRF24L01View projectIntermediate · 3 hoursWarm box for dough and yoghurt with a PTC heater and a safety cut-outView project
Browse all 12 projects

Keep learning

Component guideBeginnerLEDs ExplainedAn LED (light-emitting diode) lights when current flows from its longer leg (anode, +) to its shorter leg (cathode, -).3 min read · Displays & LEDsComponent guideBeginnerCapacitors ExplainedA capacitor stores electric charge and releases it quickly, which lets it smooth power supplies, filter noise and set timing.3 min read · Passive ComponentsHow-toBeginnerHow to Use a MultimeterTo measure voltage, set the multimeter to V DC, plug the red lead into the V/Ω jack and the black into COM, then touch the leads across the part.3 min read · Tools & Workshop SkillsConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics Fundamentals

Sources

  • IEC 60062 marking codes for resistors and capacitors
  • Vishay and Yageo carbon and metal film resistor datasheets

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat does a resistor do?Resistor colour code chartCommon values to recogniseReading SMD resistor codesChoosing the power ratingVoltage divider formulaTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹219

Resistor Assortment Kit (30 Values) · Carbon Film Resistor 1/4W 5% (Pack of 10) · Digital Multimeter

Ask the Community

Ask a question