# Capacitor Charge Time Calculator

> Calculate the RC time constant and charge/discharge curve of a capacitor through a resistor, including voltage over time, time to reach a target level, and a visual curve.

- Open in browser: https://pockettoolbox.org/en/capacitor-charge-time
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Interactive RC calculator with charge/discharge curve, time constant τ = R·C, and time to reach any target voltage percentage.

Calculates the time constant τ = R × C, the voltage curve for charging v(t) = Vmax·(1 − e^(−t/τ)) and discharging v(t) = V0·e^(−t/τ), the time to reach a target voltage percentage, and the classic 1τ bis 5τ milestones (5τ ≈ 99.3% charged).

Calculates the RC time constant and exponential charge or discharge curves, drawing the voltage graph onto a canvas.

---
PocketToolbox (https://pockettoolbox.org/en)
