Free Science Tools -- Ohm's Law, Resistor Calculator, and More

Calculate Ohm's law, decode resistor colors, convert scientific units. Free browser tools for students and engineers.

AllTools Team ·
Free Science Tools -- Ohm's Law, Resistor Calculator, and More — AllTools

Whether you are working through a physics homework set, debugging a circuit on your breadboard, or designing a power supply for an Arduino project, you repeatedly need the same calculations: Ohm’s law, resistor values, power dissipation, and unit conversions.

The Ohm’s Law Calculator and Resistor Color Code Decoder on AllTools run in your browser. No app, no account, no data sent anywhere. Enter your known values, get your answer, move on.

Ohm’s Law Calculator

Ohm’s law is the foundation of circuit analysis. It describes the relationship between voltage (V), current (I), and resistance (R):

V = I x R

Where:

  • V = Voltage in volts (V)
  • I = Current in amperes (A)
  • R = Resistance in ohms (ohm)

The Ohm’s Law Triangle

The triangle is a visual mnemonic that makes it easy to rearrange the formula for any unknown:

    V
   ---
  I | R
  • To find voltage: V = I x R (cover V, I and R are side by side, so multiply)
  • To find current: I = V / R (cover I, V is over R, so divide)
  • To find resistance: R = V / I (cover R, V is over I, so divide)

Practical examples with real values

Example 1: Finding current through an LED You have a 9V battery and want to run a standard red LED (forward voltage 2V) with a 330-ohm resistor. The voltage across the resistor is 9V - 2V = 7V. Current = 7V / 330 ohm = 0.0212A = 21.2mA. That is within the typical 20mA rating for a standard LED. Use the Ohm’s Law Calculator to verify.

Example 2: Finding the right resistor for a motor A small DC motor draws 200mA at 6V. What resistance does it present? R = 6V / 0.2A = 30 ohm. If you want to limit current to 150mA from a 9V supply, you need a total resistance of 9V / 0.15A = 60 ohm, meaning you need an additional 30-ohm resistor in series.

Example 3: Voltage drop across a sensor A temperature sensor has 10K ohm resistance and draws 0.5mA. Voltage across it: V = 0.0005A x 10,000 ohm = 5V. This tells you the sensor needs a 5V supply to operate at that current.

Resistor Color Code Decoder

Resistors use colored bands to indicate their resistance value. Reading these bands correctly is a fundamental skill in electronics, but memorizing the color codes takes practice. The Resistor Color Code Decoder lets you select band colors and instantly see the resistance value, or enter a resistance value and see which colors to look for.

4-Band Resistor Color Chart

ColorBand 1 (1st digit)Band 2 (2nd digit)Band 3 (Multiplier)Band 4 (Tolerance)
Black00x1
Brown11x10+/-1%
Red22x100+/-2%
Orange33x1K
Yellow44x10K
Green55x100K+/-0.5%
Blue66x1M+/-0.25%
Violet77x10M+/-0.1%
Grey88+/-0.05%
White99
Goldx0.1+/-5%
Silverx0.01+/-10%

How to read a 4-band resistor: Hold the resistor so the tolerance band (gold or silver) is on the right. Read left to right: first digit, second digit, multiplier.

Example: Brown-Black-Red-Gold = 1, 0, x100 = 1,000 ohm (1K ohm) with +/-5% tolerance.

5-Band Resistors

5-band resistors add a third significant digit for higher precision. The bands are: 1st digit, 2nd digit, 3rd digit, multiplier, tolerance.

Example: Brown-Red-Green-Brown-Brown = 1, 2, 5, x10 = 1,250 ohm with +/-1% tolerance.

5-band resistors are common in precision circuits where 5% tolerance is not adequate. Audio equipment, measurement instruments, and medical devices typically use 1% or better.

Power Calculation

Power tells you how much energy a component uses (or dissipates as heat) per second. Three equivalent formulas:

  • P = I x V (power = current times voltage)
  • P = I-squared x R (useful when you know current and resistance)
  • P = V-squared / R (useful when you know voltage and resistance)

Why power matters for resistor selection

Every resistor has a power rating (typically 1/4W, 1/2W, 1W, or 2W). If the resistor dissipates more power than its rating, it overheats and can burn out.

Example: A 100-ohm resistor carrying 100mA dissipates P = (0.1)^2 x 100 = 1W. A standard 1/4W resistor would overheat — you need at least a 2W resistor (always provide margin above calculated dissipation).

The Scientific Calculator handles these squared terms and divisions for verification.

Series vs Parallel Circuits

The rules for combining resistors are opposite in series versus parallel.

Series Circuits

Resistors in series add directly:

R_total = R1 + R2 + R3 + …

Current is the same through every component. Voltage divides across components proportional to their resistance.

When to use series: Voltage dividers, current limiting, LED strings, sensor circuits where you need a reference voltage.

Parallel Circuits

Resistors in parallel combine using the reciprocal formula:

1/R_total = 1/R1 + 1/R2 + 1/R3 + …

For two resistors, the shortcut is: R_total = (R1 x R2) / (R1 + R2)

Voltage is the same across every component. Current divides between paths inversely proportional to resistance.

When to use parallel: Increasing current capacity, reducing total resistance, power distribution, redundancy in critical circuits.

Quick mental math for parallel resistors

Two equal resistors in parallel give half the resistance of one. Three equal resistors in parallel give one-third. Ten 1K-ohm resistors in parallel give 100 ohm. This is useful for quick estimates before reaching for a calculator.

Common Electronics Formulas Table

FormulaDescriptionVariables
V = IROhm’s lawV=voltage, I=current, R=resistance
P = IVPowerP=watts, I=current, V=voltage
P = I-squared x RPower (current form)P=watts, I=current, R=resistance
P = V-squared / RPower (voltage form)P=watts, V=voltage, R=resistance
R_series = R1+R2+…Series resistanceR=resistance of each component
1/R_par = 1/R1+1/R2+…Parallel resistanceR=resistance of each component
V = V1+V2+… (series)Kirchhoff’s Voltage LawSum of voltages around a loop = 0
I_in = I_out (node)Kirchhoff’s Current LawCurrent into a node = current out
tau = R x CRC time constanttau=seconds, R=ohms, C=farads
f = 1/(2 x pi x R x C)RC cutoff frequencyf=hertz, R=ohms, C=farads
V_out = V_in x R2/(R1+R2)Voltage dividerV=voltages, R=resistances
E = 0.5 x C x V-squaredCapacitor energyE=joules, C=farads, V=volts

The Scientific Calculator handles all of these calculations directly in your browser.

Student Use Cases

Physics homework

Introductory physics problems typically give you two of three values (voltage, current, resistance) and ask for the third. The Ohm’s Law Calculator solves these instantly, but use it to check your manual work. Doing the calculation by hand first builds understanding.

Lab reports

Lab sessions involve measuring real circuits and comparing to theoretical predictions. Use the Resistor Color Code Decoder for expected resistance values, calculate theoretical current and voltage with the Ohm’s Law Calculator, then compare with your multimeter readings. The Percentage Calculator handles the percentage difference calculation common in lab reports.

Arduino and Raspberry Pi projects

Microcontroller projects constantly require resistor calculations: pull-up resistors for buttons (typically 10K ohm), current-limiting resistors for LEDs (220-470 ohm for 5V, 68-150 ohm for 3.3V), and voltage dividers for sensors outside the ADC range. Plug your supply voltage and component specs into the Ohm’s Law Calculator to get the right value.

The Binary Converter is useful for setting register values and interpreting sensor data. The Unit Converter handles metric prefix conversions (milliamps to amps, kilohms to ohms).

Comparison: AllTools vs Other Electronics Calculators

FeatureAllToolsWolframAlphaCalcToolElectroDroid
PriceFreeFree (limited), Pro $7.25/moFreeFree (ads), Pro $2.99
PlatformBrowser (any device)Browser + appBrowserAndroid/iOS app
Ohm’s law calculatorYesYes (natural language)YesYes
Resistor color codesYesNoYesYes
Account requiredNoNo (limited), Yes (Pro)NoNo
Offline accessNoNoNoYes (app)
Data privacy100% local, no uploadsQueries sent to serversQueries sent to serversLocal (app)
Additional tools562 tools across 22 categoriesComputational engine~50 calculators~75 electronics tools
Scientific calculatorYesYes (advanced)NoYes
Unit conversionYesYesLimitedYes
Step-by-step solutionsNoPro onlyNoNo
Formula referenceIn blog contentExtensiveLimitedYes

Summary: WolframAlpha is the most powerful computational engine but sends queries to servers and locks step-by-step solutions behind a subscription. ElectroDroid is excellent for electronics but requires an app install and is mobile-only. AllTools is the only option combining privacy, breadth (562 tools), and zero cost.

FAQ

What is the difference between series and parallel resistance?

In series, resistances add directly: two 100-ohm resistors in series give 200 ohm. In parallel, the total is always less than the smallest individual resistor: two 100-ohm resistors in parallel give 50 ohm. Series circuits share current; parallel circuits share voltage. Most real circuits use a combination of both.

How do I read a 5-band resistor?

Hold the resistor with the band grouping (4 closely spaced bands) on the left and the single tolerance band on the right. Read left to right: 1st digit, 2nd digit, 3rd digit, multiplier, tolerance. Example: Red-Violet-Black-Brown-Brown = 2, 7, 0, x10 = 2,700 ohm (2.7K) with 1% tolerance. When in doubt, use the Resistor Color Code Decoder to verify.

How do I calculate power dissipation in a resistor?

Use P = I-squared x R if you know the current, or P = V-squared / R if you know the voltage across the resistor. Always choose a resistor with a power rating at least 50% higher than your calculated dissipation. If you calculate 0.4W, use a 1W resistor, not a 1/2W. This margin accounts for ambient temperature, manufacturing tolerance, and long-term reliability.

Can I use these tools for AC circuits?

The Ohm’s Law Calculator works for DC circuits and for AC circuits using RMS (root mean square) values. For AC circuits with capacitors and inductors, you need impedance calculations involving complex numbers rather than simple resistance. The basic formulas still apply, but R becomes Z (impedance). For purely resistive AC loads (heaters, incandescent bulbs), the DC calculator works as-is with RMS values.

What is an RC time constant and why does it matter?

The RC time constant (tau = R x C) tells you how quickly a capacitor charges or discharges through a resistor. After one time constant, the capacitor reaches about 63% of the final voltage. After five time constants, it reaches 99%. This matters for timing circuits, signal filtering, debouncing switches, and power supply smoothing. A 10K-ohm resistor with a 100-microfarad capacitor gives a time constant of 1 second.

Are these tools accurate enough for professional engineering?

The calculations use standard formulas and are mathematically exact for the inputs you provide. They work well for educational use, hobbyist projects, and initial design calculations. Professional engineering requires additional considerations — component tolerances, temperature coefficients, parasitic effects — that are beyond a basic calculator. For professional work, these tools serve as quick verification, not as a replacement for circuit simulation software like SPICE.

Start Calculating

Visit the Ohm’s Law Calculator to solve voltage, current, and resistance problems instantly. Use the Resistor Color Code Decoder to identify any resistor. Open the Scientific Calculator for general math, the Unit Converter for metric prefix conversions, and the Binary Converter for microcontroller work.

Explore all science and engineering tools in the Science category. Have a question? Visit the FAQ. Want a tool we do not have yet? Suggest it.

Related Tools

Science

Ohm's Law Calculator

Calculate V, I, R with Ohm's Law

Science

Resistor Color Code Calculator

Decode resistor color bands

Math

Scientific Calculator

Scientific calculator with trig, log, and powers

Math

Unit Converter

Convert units across 12 categories instantly

Math

Percentage Calculator

Calculate percentages, tips, discounts, and tax

Math

Number Base Converter

Convert between number bases

AT

AllTools Team

AllTools Team