One study analysing the self-reported Kinsey data set found that the average penis of a homosexual man was larger than the average penis of their heterosexual counterparts (6.32 inches [16.05 cm] in length amongst gay men versus 5.99 in [15.21 cm] in heterosexuals, and 4.95 inches [12.57 cm] circumference amongst gay men versus 4.80 in [12.19 cm] in heterosexual men). Evolution
The human penis is thicker than that of any other primate, both in absolute terms and relative to the rest of the body. Early research, based on inaccurate measurements, concluded that the human penis was also longer. In fact, the penis of the common chimpanzee is no shorter than in humans, averaging 14.4 cm (5.7 inches), and some other primates have comparable penis sizes relative to their body weight.The evolutionary reasons for the increased thickness have not been established. One explanation is that thicker penises are an adaptation to a corresponding increase in vaginal size. The vaginal canal is believed to have expanded in humans to accommodate the larger size of a newborns skull. Women may then have sexually selected men with penises large enough to fit their vagina, to provide sexual stimulation and ensure ejaculation.Other evolutionary hypotheses to explain humans relatively large penis length and girth include a sperm competition hypothesis and a mate competition hypothesis. The sperm competition hypothesis does not have much support as in other mammals where sperm competition is present, larger testes evolve, not larger penises.
A statue of the god Hermes with an exaggerated penis stood outside the main gate of Athens and in Alexandria in 275 BC, a procession in honor of Dionysus hauled a 180-foot phallus through the city and people venerated it by singing hymns and reciting poems. The Romans, in contrast to the Greeks, seem to have admired large penises and large numbers of large phalli have been recovered from the ruins of Pompeii. Depictions of Priapus were very popular in Roman erotic art and literature. Over eighty obscene poems dedicated to him have survived.Penis size is alluded to in the Bible:

18 And she revealed her whorings, and she revealed her nakedness, and so I turned from her just as I turned from her sister. 19 Yet she increased her whorings, recalling the days of her childhood when she was prostituted in the land of Egypt. 20 And she lusted after her male lovers whose genitalia were the genitalia of male donkeys and their seminal emission was the seminal emission of horses. Ezekiel 23:18-20 Lexham English Bible

Ancient Chinese legend holds that a man named Lao Ai had the largest penis in history and that he had an affair with Queen Dowager Zhao (c. 280–228 BC), the mother of Qin Shi Huang, by pretending to be a eunuch. Ancient Koreans admired large penises and King Jijeung (437–514 AD) of the Silla Dynasty is said to have had a forty-five-centimeter penis that was so large his subordinates had to search for a woman that fit him.