## Calculating Vout for CMOS

Hi all. I don't know if I have given this enough thought but I will ask anyway. I know that a CMOS is an inverter, so for input High you will get output Low, and for input Low you will get output High. I am trying to find this out mathematically (or even just logically) but I can't seem to do it.

Say Vdd (power supply to pMOS) is 5v and Vin is also 5v. In this case the PMOS will be in cutoff mode and the NMOS will be in saturation mode. Vgs of the NMOS will be 5v. I don't know what to do next. I know that the saturation current equation for the NMOS does not include Vd (or Vds) when channel length modulation is neglected, so I have no idea how to get Vd of NMOS (AKA: Vd of PMOS, AKA: Vout).

PS: Another thing that is bothering me, is when say Vin is 5v (and Vdd is also 5v), the NMOS should have current passing through it (since in saturation) but the PMOS should not have current passing through it (since in cutoff). Kind of a paradox in my opinion. But it kind of makes sense that Vo will be zero in order to negate this current.

Anyone?

 PhysOrg.com engineering news on PhysOrg.com >> Researchers use light projector and single-pixel detectors to create 3-D images>> GPS solution provides 3-minute tsunami alerts>> Single-pixel power: Scientists make 3-D images without a camera
 This short video should help you better understand the circuit . https://www.youtube.com/watch?v=ZMEpc2o9_gU Because if PMOS is cut-off then without the load NMOS current is 0A. so NMOS is not in saturation but in triode mode (aka linear region).

 Quote by Jony130 This short video should help you better understand the circuit . https://www.youtube.com/watch?v=ZMEpc2o9_gU Because if PMOS is cut-off then without the load NMOS current is 0A. so NMOS is not in saturation but in triode mode (aka linear region).
Hey. Thanks for the reply and the youtube link (probably going to watch it a couple more times). So the schematic in the video is a cmos? I thought for a cmos both mosfets would have the same input (Vin) at their gates? Thanks again.

## Calculating Vout for CMOS

 Quote by perplexabot Hey. Thanks for the reply and the youtube link (probably going to watch it a couple more times). So the schematic in the video is a cmos? I thought for a cmos both mosfets would have the same input (Vin) at their gates? Thanks again.
Yes, it is a CMOS circuit. CMOS --->Complementary MOS. So we need nMOS and pMOS in the circuit and we have a CMOS circuit. And circuit you have in mind is a CMOS inverter.