Capacitance Converter
Convert between Farad, Millifarad, Microfarad, Nanofarad, and Picofarad units.
| Unit | Value in Farad (F) |
|---|---|
| Farad (F) | 1.00e+0 |
| Millifarad (mF) | 1.00e-3 |
| Microfarad (µF) | 1.00e-6 |
| Nanofarad (nF) | 1.00e-9 |
| Picofarad (pF) | 1.00e-12 |
About this tool
Capacitance values appear in farads and their sub-units across datasheets and schematics, but the same part is often listed in microfarads in one place, nanofarads in another, and picofarads in a third. This converter changes a value between farad (F), millifarad (mF), microfarad (µF), nanofarad (nF), and picofarad (pF) so you do not have to shift decimal points by hand and risk an error.
Enter a value in whichever unit you have, and the equivalents in every other unit are shown instantly. It is handy for electronics hobbyists, students working through circuit problems, and engineers decoding the cryptic markings printed on capacitors.
As a quick reference, 1 µF equals 1000 nF and 1,000,000 pF, so each step down moves the decimal point three places. Everything runs locally in your browser, with no data sent to any server.
Frequently Asked Questions
Code Implementation
import math
# Capacitance unit converter
CAPACITANCE_TO_FARAD = {
"F": 1,
"mF": 1e-3,
"uF": 1e-6, # µF
"nF": 1e-9,
"pF": 1e-12,
}
def convert_capacitance(value: float, from_unit: str, to_unit: str) -> float:
"""Convert between capacitance units via farad (F)."""
value_in_farad = value * CAPACITANCE_TO_FARAD[from_unit]
return value_in_farad / CAPACITANCE_TO_FARAD[to_unit]
def capacitive_reactance(capacitance_f: float, frequency_hz: float) -> float:
"""XC = 1 / (2π × f × C) in ohms."""
if frequency_hz == 0:
return float("inf")
return 1 / (2 * math.pi * frequency_hz * capacitance_f)
# Examples
print(convert_capacitance(100, "nF", "uF")) # 0.1 µF
print(convert_capacitance(0.01, "uF", "pF")) # 10000 pF
# Reactance of 10µF at 1kHz
xc = capacitive_reactance(10e-6, 1000)
print(f"XC at 1 kHz: {xc:.2f} Ω") # 15.92 Ω
# Charge stored: Q = C × V
c_farads = 100e-6 # 100 µF
voltage = 12 # volts
charge_coulombs = c_farads * voltage
print(f"Charge: {charge_coulombs * 1000:.2f} mC") # 1.20 mCComments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.