4.7 kΩ resistor color code
A 4.7 kΩ resistor is Yellow, Violet, Red, Gold: 47 × 100 = 4,700 Ω, ±5%, so anything from 4.465 to 4.935 kΩ is in spec.

47 × 100 = 4,700 Ω = 4.7 kΩ
5-band version
Yellow · Violet · Black · Brown · Brown = 4.7 kΩ ±1%
470 × 10 = 4,700 Ω = 4.7 kΩ. Range 4.653–4.747 kΩ (±1%).
Open the 5-band version
Where you'll meet it
The data line of a DS18B20 temperature sensor
The DS18B20 sends its readings over a single data wire, called DQ. That wire is only ever pulled low, by the sensor or by the Arduino, so a 4.7 kΩ resistor from DQ to 5 V pulls it back up. Leave it out and the usual Arduino library reports −127 °C, its code for no sensor found.
I = 5 V / 4.7 kΩ ≈ 1.06 mA
That current flows only while the line is held low. The DS18B20 can sink 4 mA, so 1.06 mA is easy for it.
On a 3.3 V board, connect the resistor and the sensor's VDD to 3.3 V, not 5 V: then 3.3 V / 4.7 kΩ ≈ 0.7 mA flows and the sensor still works.
While the line is low the resistor turns 5 V × 1.06 mA ≈ 0.005 W into heat, so any size will do.
One resistor serves the whole line, even with several sensors on it. The drawing shows the normal three-wire hookup, with the sensor's VDD pin on 5 V. Very long cables can need a smaller resistor.
On SMD parts
Look for 472 or 4701
- 472472 = 47 × 10² = 4,700 Ω (3-digit code).
- 47014701 = 470 × 10¹ = 4,700 Ω (4-digit code, usually ±1% parts).
There is no EIA-96 code, because 4.7 kΩ is not an E96 value (the nearest E96 values are 4.64 kΩ and 4.75 kΩ).
Don't mix it up
Only band 3 changes
These four share Yellow, Violet and Gold. Red (×100) is 4.7 kΩ; brown is ten times less and orange ten times more.
470 Ωband 3 brown
4.7 kΩband 3 redThis page
47 kΩband 3 orange
470 kΩband 3 yellow
Check it with a meter
Read 4.465–4.935 kΩ
- Take the resistor out of the circuit.
- Set the meter to Ω, range 20 kΩ (or auto).
- Touch one probe to each lead. Keep your fingers off the metal: your body is a resistor too.
- Anything from 4.465 to 4.935 kΩ is a good ±5% part. A 5-band ±1% part should read 4.653 to 4.747 kΩ.
A meter has a small error of its own, so a reading a hair outside the range does not prove the part is bad. Measure again with firm contact before you swap it.
Spot it
Can you find 4.7 kΩ in a pile?
Practise reading it, and its look-alikes, in the resistor challenge.
Try the resistor challenge4.7 kΩ resistor FAQ
Why does the DS18B20 need a 4.7 kΩ resistor?
Its data wire is only ever pulled low, by the sensor or by the board, so a resistor to the supply has to pull it high again. The datasheet asks for a pull-up of about 5 kΩ and draws 4.7 kΩ in its own circuits, the nearest value in the common E12 range. Without it the readings fail: the usual Arduino library reports −127 °C.
What is the SMD code for a 4.7 kΩ resistor?
472 on 3-digit parts (47 × 10²) and 4701 on 4-digit parts (470 × 10¹). There is no EIA-96 code, because 4.7 kΩ is not an E96 value.
What are the 5-band colors for 4.7 kΩ?
Yellow, Violet, Black, Brown, Brown: 470 × 10 = 4.7 kΩ with ±1% tolerance, so 4.653 to 4.747 kΩ.
What does 4k7 mean?
4k7 is another way to write 4.7 kΩ. The k sits where the decimal point would be, so the point cannot get lost in small print or on a schematic. You will also see it written as 4.7k or 4K7.
Bands, ranges and codes come from the same engine as the calculator. Last reviewed .