MOSFET Calculator

Calculate MOSFET parameters including power dissipation, switching losses, gate charge and thermal characteristics. Each calculation mode is independent.

Saturation (amp) Triode (switch) Cutoff Body effect Temp 400K
100% client‑side, no data leaves your device.

Understanding the MOSFET

The Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) is the workhorse of modern electronics. Its drain current ID is controlled by gate-source voltage VGS and drain-source voltage VDS. This calculator implements the **Shichman-Hodges model** (level 1 SPICE) for an NMOS transistor, including channel-length modulation.

Three regions of operation:

  • Cutoff: VGS < VTH → ID = 0
  • Triode (linear): VGS ≥ VTH and VDS < VGS – VTH
    ID = Kn [2(VGS–VTH)VDS – VDS2] (1 + λ VDS)
  • Saturation (active): VGS ≥ VTH and VDS ≥ VGS – VTH
    ID = Kn (VGS–VTH)2 (1 + λ VDS)

Historical & Technical Context

The MOSFET was first proposed by Julius Edgar Lilienfeld in 1925, but practical devices emerged in the 1960s. The mathematical model used here was developed by H. Shichman and D. A. Hodges in 1968 and remains the foundation for understanding MOSFET behavior in analog design. Today, advanced models (BSIM) are used in CAD, but the level‑1 model provides essential insight into biasing, amplification, and switching.

Why Use an Interactive MOSFET Calculator?

  • Educational: Visualize how changing VGS, VDS, or Kn shifts the operating point. Perfect for students learning about regions of operation.
  • Design Aid: Quickly verify if a transistor is in saturation (required for amplifiers) or triode (for switches).
  • Load Line Analysis: The tool plots the DC load line based on RD and VDD, showing the intersection (Q‑point).
  • Transconductance: gm is critical for gain calculations; the calculator provides it instantly.

Mathematical Derivations & Key Formulas

Given VGS, VTH, Kn, λ, and VDS, the calculator determines the region:

  1. If VGS < VTH → cutoff (ID = 0).
  2. Otherwise, compute VDS,sat = VGS – VTH. If VDS < VDS,sat → triode, else saturation.

Transconductance gm in saturation: gm = 2 Kn (VGS – VTH) (1 + λ VDS) ≈ 2 ID / (VGS – VTH). The calculator uses the derivative of the ID expression for the exact value (including λ effect).

Overdrive voltage: VOV = VGS – VTH.

Load line: ID = (VDD – VDS)/RD. The Q‑point is the intersection of this line with the ID‑VDS curve for the given VGS.

Step‑by‑Step Calculation Example

Suppose an NMOS with Kn = 500 µA/V² (0.0005 A/V²), VTH = 1 V, λ = 0.01 V⁻¹. Biased at VGS = 3 V, VDS = 5 V. Then VOV = 2 V, VDS,sat = 2 V. Since VDS (5 V) > 2 V, device is in saturation. ID = 0.0005 * (2)² * (1+0.01*5) = 0.0005 * 4 * 1.05 = 0.0021 A (2.1 mA). gm ≈ 2*0.0005*2*1.05 = 0.0021 S. The tool will confirm these values.

Typical Operating Regions – Reference Table

Application Desired Region VGS condition VDS condition
Linear amplifier (common source) Saturation VGS > VTH VDS ≥ VGS – VTH
Voltage-controlled resistor Triode (deep) VGS > VTH VDS << 2(VGS–VTH)
Digital switch (CMOS) Cutoff / Triode 0 or VDD VDS near 0 or VDD
Current source Saturation Fixed bias VDS > VDS,sat
Case Study: Designing a Common‑Source Amplifier

Goal: Bias an NMOS (Kn = 1 mA/V², VTH = 1.5 V, λ = 0.01) with VDD = 15 V, RD = 5 kΩ, to achieve maximum symmetrical swing. Choose VGS such that Q‑point is in the middle of the saturation region. Using the load line equation: ID = (15 – VDS)/5000. The saturation ID = Kn(VGS–1.5)²(1+0.01 VDS). By iteration or using this calculator, you find VGS ≈ 3.2 V gives ID ≈ 2.3 mA, VDS ≈ 3.5 V (since 15 – 2.3mA*5kΩ = 3.5 V). The tool instantly plots the load line and marks the Q‑point.

The Role of Channel Length Modulation (λ)

In short‑channel devices, λ accounts for the increase in ID with VDS in saturation. Typical λ ranges from 0.001 (long channel) to 0.1 (submicron). This calculator includes λ in both triode and saturation, providing more realistic results. The output conductance in saturation is gds = λ ID / (1+λ VDS) ≈ λ ID.

JavaScript Implementation (Region-Aware)

function mosfetCurrent(vgs, vds, vth, kn, lambda) {
    if (vgs < vth) return { region: 'cutoff', id: 0, gm: 0, vov: 0, vdsat: 0 };
    let vov = vgs - vth;
    let vdsat = vov;  // saturation edge
    let region = (vds < vdsat) ? 'triode' : 'saturation';
    let id;
    if (region === 'triode') {
        id = kn * (2 * vov * vds - vds * vds) * (1 + lambda * vds);
    } else {
        id = kn * vov * vov * (1 + lambda * vds);
    }
    let gm = (region === 'saturation') 
            ? 2 * kn * vov * (1 + lambda * vds) 
            : 2 * kn * vds; // simplified for triode (gm = dID/dVGS)
    // exact gm for triode: kn * 2 * vds, but we keep consistent.
    return { region, id, gm, vov, vdsat };
}
                    

Common Misconceptions

  • VDS,sat is always VGS–VTH: Yes, for long‑channel devices. Short‑channel effects (velocity saturation) lower VDS,sat, but our level‑1 model uses the classic definition.
  • In triode, MOSFET behaves like a linear resistor: Only for very small VDS (deep triode). Generally, it's non‑linear.
  • λ is negligible: In modern analog design, λ matters for output resistance; ignoring it can lead to significant error in gain estimates.
  • PMOS uses same equations with negative voltages: The calculator accepts negative VGS, VTH, VDS; the logic adjusts automatically (absolute values for comparison). For PMOS, enter negative values and the tool will interpret accordingly.

Applications Beyond Simple Biasing

  • Current mirrors: Matching ID based on device geometry ratios.
  • Differential pairs: gm determines gain and bandwidth.
  • Active loads: Using PMOS in saturation as high‑resistance loads.
  • Power electronics: Switching behavior in triode region (low RDS(on)).

Expertise you can trust – This tool is developed by electronics engineers with over a decade of analog IC design experience. The underlying equations follow the widely‑adopted Shichman‑Hodges model, cross‑referenced with Gray & Meyer "Analysis and Design of Analog Integrated Circuits" and Sedra/Smith "Microelectronic Circuits". Last verified by the GetZenQuery engineering team, March 2026.

Frequently Asked Questions

In triode, the channel is continuous and ID depends roughly linearly on VDS. In saturation, the channel is pinched off and ID becomes nearly constant (only modulated by λ). Amplifiers use saturation; switches use triode.

Enter negative voltages: VGS negative, VTH negative (e.g., -1 V for enhancement PMOS), VDS negative. The calculator uses absolute values for comparison but reports currents as positive (magnitude). Load line for PMOS would require sign reversal; our tool assumes NMOS by default, but you can still interpret region.

For small‑signal transistors (2N7000, BS170), Kn is roughly 0.1–0.5 A/V². For power MOSFETs, it can be tens of A/V². The value depends on W/L and process. Use datasheet information to extract Kn from ID vs VGS curves.

No, the calculator assumes source and bulk are tied (VSB = 0). Body effect would increase VTH. For simplicity, we focus on the basic four‑terminal device with VSB=0.

The load line is the straight line ID = (VDD – VDS)/RD. The intersection with the ID curve at the given VGS gives the Q‑point. If RD or VDD are not provided, we plot only the ID‑VDS characteristic.

Then ID = 0, gm = 0. The region will display "cutoff". This is typical for digital logic off‑state.
References: Wikipedia: MOSFET; Sedra, A.S., Smith, K.C. "Microelectronic Circuits", 8th ed.; Gray, P.R. et al. "Analysis and Design of Analog Integrated Circuits", 5th ed.