Rate this calculator

MOSFET Calculator

Calculate gate resistor, gate power, and switching times for N-channel MOSFET circuits.

Component Values

nC

Results

Gate Resistor (Rg)25.00 Ω
Gate Drive Power (Pg)20.00 mW
Peak Gate Current400.0 mA
Rise Time (est.)50.0 ns
Fall Time (est.)50.0 ns
VdrvRgDVddSGLoad

N-Channel MOSFET — Low-Side Switch

Vgs (V)IdVth

Vgs vs Id — Transfer Curve

MOSFET Gate Drive: Practical Design Guide

Use this calculator when designing a PWM power stage: motor H-bridge, DC-DC converter, LED dimmer, solenoid driver. The two critical parameters are Qg (total gate charge from the datasheet) and your switching frequency. Example: an IRF540N has Qg=71nC. At 100kHz with a 10V gate drive and 10Ω gate resistor, the gate drive power is 71nC×10V×100kHz=71mW — easily handled by a logic gate driver IC like the TC4420.

The gate resistor Rg controls how fast the gate charges. A larger Rg slows the transition, reducing gate ringing and EMI but increasing switching losses (the MOSFET spends more time in its linear region during each transition). A smaller Rg switches faster but can cause ringing on the drain that damages the MOSFET or radiates EMI. Typical values for low-power applications: 10–47Ω. For high-frequency power converters: 4.7–22Ω.

For N-channel low-side switching (most common), the gate drive is straightforward — the source is at ground. For N-channel high-side switching (better efficiency for buck converters), you need a bootstrap or charge pump circuit to drive the gate above the drain voltage. Logic-level MOSFETs (Vth < 2V) can be driven directly from 3.3V microcontrollers like Arduino or ESP32 without a gate driver IC, but only at low switching frequencies.

Gate Power

Pg = Qg × Vgs × f

Gate Resistor

Rg = Vdrv × t_rise / Qg

Key Points

  • Gate is capacitive: Qg must be charged every switching cycle
  • Rg controls switching speed and ringing
  • Power loss increases with frequency: Pg = Qg × Vgs × f
  • Logic-level MOSFETs have Vth < 2.5V for direct µC drive

Applications

  • PWM motor control and H-bridges
  • DC-DC converter power stages
  • LED dimming circuits
  • Power switch and load control

MOSFET key parameters

Id = (µn × Cox / 2) × (W/L) × (Vgs – Vth)² (saturation)Pd = Id² × Rds(on) (conduction)Psw = ½ × Vds × Id × (tr+tf) × fsw (switching)t_switch = Qg / Ig_driver | FOM = Qg × Rds(on) (lower = better)

Popular MOSFET Reference

PartTypeVdsIdRds(on)QgPackageApplication
2N7000N60V0.2A1nCTO-92Logic-level, signal
BSS138N50V0.2A3.5Ω1nCSOT-23Level shifter
IRLZ44NN55V47A22mΩ48nCTO-220Motor drive, 5V gate
IRF540NN100V33A44mΩ71nCTO-220Power switching
IRFZ44NN55V49A28mΩ59nCTO-220H-bridge, DC motor
AO3401P30V4A90mΩ6nCSOT-23High-side switch
IRF9540NP100V23A117mΩ95nCTO-220High-side power
SiS412DNN30V12A10mΩ8nCPowerPAKSync rectifier

Practical Examples

Arduino PWM motor control (12V, 2A)

Gate: 5V PWM → IRLZ44N (logic-level, Vth=2V). Rds(on)=22mΩ.

Pd = 2² × 0.022 = 88mW. No heatsink needed.

Add 10Ω gate resistor to suppress ringing.

High-side P-channel switch (12V load, 500mA)

Use AO3401 P-MOSFET. Vgs = 0V (on), –12V (off). Drive with NPN BJT.

Pd = 0.5² × 0.090 = 22.5mW << 1.4W max. SOT-23 sufficient.

Design Tip

For logic-level gates (3.3V/5V MCU), choose MOSFET with Vth < 2V. Always add a gate resistor (10–100Ω) to damp switching oscillations. Add a pull-down (10kΩ) on gate to ensure MOSFET stays off during power-up. Bootstrap gate drivers needed for high-side N-channel switches (e.g., IR2110).

Did you know? The MOSFET (1960, Atalla & Kahng) is the most widely manufactured device in history — with over 13 sextillion (10²²) MOSFETs produced as of 2020. Every smartphone contains several billion of them. Modern process nodes (2–3 nm) make individual gates smaller than a virus.