The transverse charge density of pions is calculated based on relativistic quantum mechanics, where the pion is regarded as a quark-antiquark bound state. Corrections from the two spin-1/2 constituents and from the wave function of a quark and antiquark i