Genetics plays a significant role in the size of a penis, largely directed by the chromosomes you inherit from your mother and father. Certain inheritable features (like your height) may also correspond to a larger or smaller penis size, while other features (like your shoe size or race) have less of an impact than you might think.
Source: Verywell Health