Calculators for Arduino and ESP32 projects
Which resistor for this LED? Which two for this analog pin? What value is this striped part? Pick your board and get the answer in kit values.
The short answer
ArduinoStudio has three calculators for a first Arduino or ESP32 project. One finds the resistor for an LED on a pin. One sizes a voltage divider for an analog pin. One reads resistor color bands. Each starts from your board, rounds to values found in a resistor kit and warns when a result is not safe to wire.
Built for your board
Pick a board, not a voltage. Each answer uses resistor values you can pull out of a kit.
- First LED
LED resistor calculator
Pick your board and LED color. Get the kit resistor to use, the real current and the color bands.
Open the calculator → - Analog pins
Voltage divider calculator
Bring a higher voltage down to an analog pin. Get a kit resistor pair and the number the board reports.
Open the calculator → - Parts on the desk
Resistor color code calculator
Tap the bands to read a resistor, or type a value to see its bands. For 4 and 5 band parts.
Open the calculator →
More engineering calculators from InteRFace R&D
InteRFace R&D is the company that makes ArduinoStudio. These calculators live on its own site and go deeper than a first project needs. Each one opens in a new tab.
- interfacernd.com
Battery life calculator
How long a battery lasts in a device that sleeps and wakes, such as an ESP32 sensor on one cell.
Opens in a new tab → - interfacernd.com
I2C pull-up calculator
The pull-up resistor range for an I2C bus, from its voltage, speed and wiring.
Opens in a new tab → - interfacernd.com
RC filter calculator
Cutoff frequency and time constant of a resistor and a capacitor, for a button debounce or a smoothed PWM pin.
Opens in a new tab → - interfacernd.com
Printable resistor color chart
A one-page color code chart and practice sheets to print for a class or a workbench.
Opens in a new tab → - interfacernd.com
MCU selector
Five questions that rank microcontroller chips for a product. It covers chips, not Arduino boards.
Opens in a new tab → - interfacernd.com
The full list
Every calculator and planning tool from InteRFace R&D, in one place.
Opens in a new tab →
They start from the board
Other calculators ask for a supply voltage. These ask which board you have, then fill in the rest: 5 V pins on an Uno, Nano or Mega, 3.3 V pins on an ESP32.
Kit values, not exact values
The exact resistor for a red LED at 10 mA on an Uno is 300 Ω. No kit has one. The calculators round to a value you own, 330 Ω here, and show what that part really does.
Limits with a source
One ATmega328P pin is specified for 20 mA in normal use. Every pin limit in these tools is read from the datasheet of the chip maker, and each tool says which board it assumes.
From a number to a working project
A calculator gives you a part. A project needs the part wired and something telling the pin what to do. In ArduinoStudio you build that second half with blocks, in three stages: Logic, Wiring and App.
Start with the blink an LED tutorial if you have an Uno, or the ESP32 Wi-Fi LED tutorial if you have an ESP32. No board yet? The Arduino simulator in the browser runs the logic with no parts. It does not model current, so it cannot check a resistor for you. That is the job of the calculators above.
Have the number? See a project run
Each answer here is for a real board on your desk. To see what a finished project does first, open the live demo in your browser. No account is needed.
Open the live demoGuides that use these numbers
- LED wiring guide →Which leg goes where, and the Standard LED block.
- Photoresistor guide →A light sensor and a 10 kΩ resistor on A0.
- Blink an LED tutorial →The first project, step by step.
- ESP32 Wi-Fi LED tutorial →Switch an LED from your phone.
- Arduino simulator in the browser →Try the logic with no parts.
- Supported boards →
Quick answers
Which boards do the calculators know?
The Arduino Uno, the classic Nano and the Mega, which have 5 V pins, and the ESP32, which has 3.3 V pins. The LED calculator also takes any other 3.3 V board or a voltage you type. For those it cannot check a pin limit, and it says so.
Do I need an account to use the calculators?
No. Each calculator is a plain web page. It works as soon as it loads, on a phone or a laptop, and nothing you type leaves your browser. You only need an ArduinoStudio account when you want to save a project in the editor.
What is a kit value?
Resistors are made in a fixed set of values, not in every value. A starter kit holds the E12 set: 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68 and 82, times a power of ten. The calculators round to that set, in the direction that keeps the circuit safe.
Why are some calculators on the InteRFace R&D site?
InteRFace R&D is the company that makes ArduinoStudio, and it keeps a larger set of engineering calculators on its own site. The three here were rebuilt around Arduino and ESP32 boards. The others cover topics that come later, such as battery life, and open in a new tab.
Last updated 2026-12-02.