An enhanced squared and an enhanced octagonal W-band CMOS Marchand baluns for direct-conversion transceiver are reported. These Marchand baluns can be applied to an up-conversion mixer for converting the single local oscillator input signal into differential signal, and converting the differential RF output signal to single signal. They can also be applied to a subharmonic down-conversion mixer for converting the single RF input signal into differential signal. Instead of the traditional Marchand balun structure that uses three sections of thin (0.53 mu m) M-5 interconnection lines (underneath the thick (2.34 mu m) M-6 main structure), the proposed balun structures use only one section of thin M-5 interconnection line to improve S-21 and S-31. The squared Marchand balun occupies a small chip area of 0.0313 mm(2), and achieves S-21 of -4.19 to -4.53 dB, S-31 of -4.28 similar to to -4.42 dB, magnitude of amplitude imbalance (MAI) smaller than 0.11 dB and deviation of phase difference (DPD) smaller than 4.3 degrees for frequencies 75 similar to 285 GHz. The octagonal Marchand balun occupies a small chip area of 0.0288 mm(2), and achieves S-21 of -4.56 to -5.03 dB, S-31 of -4.56 to -4.86 dB, MAI smaller than 0.18 dB and DPD smaller than 2 degrees for frequencies 75-85 GHz. The state-of-the-art results of these proposed baluns indicate that they are suitable for W-band communication systems. (C) 2014 Wiley Periodicals, Inc.