欧姆定律计算器:电压、电流、电阻和功率
输入电压、电流、电阻和功率中的任意两项,即可得到另外两项;支持 4.7k、20m、1.5M 等 SI 前缀,并显示所用公式。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Ohm’s law ties together the four quantities you meet in every simple circuit: voltage (V), current (I), resistance (R) and power (P). Know any two and the other two follow. This calculator lets you fill in whichever two you have, for example the supply voltage and a resistor value, or a component’s current and power rating, and returns the rest along with the formulas it used.
Values can be typed the way they appear on parts and datasheets: 4.7k or 4k7 for 4,700 ohms, 20m for 20 milliamps, 1.5M for 1.5 megohms. Results are shown with sensible prefixes, so a current of 0.05455 A reads as 54.55 mA, and the power figure helps you choose a resistor with an adequate wattage rating.
使用方法
- Fill in exactly two of the four boxes: voltage, current, resistance or power.
- Use SI prefixes where convenient, such as 220, 4.7k, 20m or 0.25.
- Run it to get all four quantities with prefixes.
- Check the power against the rating of your resistor, leaving a safety margin.
计算原理
Ohm’s law V = I × R and the power law P = V × I give six combinations. From V and R: I = V ÷ R and P = V² ÷ R. From I and R: V = I × R and P = I² × R. From P and R: V = √(P × R) and I = √(P ÷ R). The remaining pairs are rearranged in the same way. Values are converted to base units before calculating.
V = I × R; P = V × I = I² × R = V² ÷ R计算示例
A 220 Ω resistor sits directly across a 12 V supply. The current is 12 ÷ 220 = 54.55 mA and the resistor dissipates 12² ÷ 220 = 654.5 mW. A common 1/4 W (250 mW) resistor would overheat, so a 2 W part (about double the power, for a safety margin) or a larger resistance is the better choice.
示例输入和结果
220 Ω 两端 12 V:54.55 mA 和 654.5 mW
局限性
- DC or purely resistive AC only; no reactance, impedance or phase angle.
- Exactly two inputs, all positive.
- It does not pick standard resistor values; round to the nearest available value yourself.
最后更新:
常见问题
LED 需要多大阻值的电阻?
用电源电压减去 LED 的正向电压,再除以 LED 电流。例如 5 V 电源、2 V 的 LED 和 20 mA,输入 3 V 和 20m 得到 150 Ω,然后选取更大的下一个标准阻值。
如何输入毫安或千欧?
使用 SI 前缀:20 mA 写作 20m,4,700 Ω 写作 4.7k 或 4k7,1.5 MΩ 写作 1.5M。末尾的 V 或 A 等单位字母会被忽略。
常见问题
Does Ohm’s law work for AC circuits?
For purely resistive loads, yes, using RMS voltages and currents. Circuits with capacitors, inductors or motors need impedance and phase, which this calculator does not handle.
Why does it need exactly two values?
Two values fix the other two. A third value could contradict them, so the calculator asks for two and computes the rest.
How do I find the resistor for an LED?
Enter the voltage left after the LED’s forward voltage and the LED current, for example 3 V and 20m, to get the resistance (150 Ω) and its power.
故障排除
It asks for exactly two values.
Clear the boxes you do not know so that only two contain numbers.
A value is not recognized.
Write numbers with an optional prefix: p, n, u (or µ), m, k, M or G, for example 470u or 2k2.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。