From alleles to ratios: Mendelian inheritance made numeric
Every inheritance calculation starts with the same bookkeeping. An organism carries two alleles at each locus — one from each parent — and which alleles exist (the genotype) determines the observable trait (the phenotype) through a dominance relationship.
With complete dominance, a heterozygote (Aa) looks like the homozygous dominant (AA), and a cross of two heterozygotes gives the classic 3:1 phenotype ratio and 1:2:1 genotype ratio. But dominance is a spectrum, not a rule. Codominance shows both alleles simultaneously (AB blood type expresses both antigens), and incomplete dominance blends them (red × white snapdragons give pink). Each model changes the ratios you should expect, which is why the first question in any pedigree or cross analysis is: what kind of dominance is this?
Sex chromosomes add a second axis. Females (XX) can be carriers of X-linked recessive traits without showing them; males (XY) have only one X, so a single recessive copy expresses. That asymmetry produces the hallmark pedigree pattern: more affected males than females, sons affected through carrier mothers, no male-to-male transmission.