Calculate diode current from voltage using the Shockley equation or piecewise practical model. Enter Vd, Is, n, and T to get forward or reverse current (A).