# Mendelian Punnett Square Calculator

Build a Punnett square for a Mendelian cross and auto-calculate genotype and phenotype ratios. Supports complete dominance, incomplete dominance (blending), codominance, and X-linked (sex-linked) inheritance — with each offspring cell's sex marked for X-linked crosses.

> Canonical page: https://test.elysiatools.com/en/tools/mendelian-punnett-square

- **Category:** Science & Education

- **Keywords:** punnett square, mendel, genetics, heredity, genotype, phenotype, alleles, dominant, recessive, incomplete dominance, codominance, x-linked, sex-linked, monohybrid, dihybrid, biology

## Overview

A genetics teaching tool for Mendelian crosses:

1. **Define the trait** — name + alleles (dominant first).
2. **Choose the mode** — complete / incomplete / codominance / X-linked.
3. **Enter the two parents' genotypes**.
4. **Get** — a full Punnett grid plus genotype & phenotype ratios. X-linked cells are marked with sex.

Great for biology homework and genetics review.

## Inputs

- **Trait name** (text): Flower color
- **Alleles (dominant first, e.g. A,a or A,B for codominance)** (text): Comma-separated alleles. First is treated as dominant in complete-dominance mode.
- **Inheritance mode** (select)
- **Parent 1 genotype** (text): Autosomal: two alleles (Aa). X-linked: XAXa (female) or XAY (male).
- **Parent 2 genotype** (text): Autosomal: two alleles (Aa). X-linked: XAXa (female) or XAY (male).
- **Display options** (select)

## When to use

- When teaching or studying Mendelian genetics to visualize allele combinations and offspring probabilities.
- When solving genetics homework problems involving complete dominance, incomplete dominance, codominance, or sex-linked traits.
- When calculating precise genotype and phenotype ratios for monohybrid crosses without manual grid drawing.

## How it works

- Enter the trait name and define the alleles, listing the dominant allele first (e.g., A,a).
- Select the inheritance mode: complete dominance, incomplete dominance, codominance, or X-linked inheritance.
- Input the genotypes for both parents, using standard notation like Aa for autosomal or XAXa and XAY for X-linked traits.
- Generate the Punnett square grid alongside calculated genotype and phenotype percentage ratios.

## Use cases

- Biology teachers generating visual aids and answer keys for genetics worksheets.
- Students verifying their homework solutions for monohybrid and sex-linked crosses.
- Genetics hobbyists predicting offspring traits for plants or animals with known genotypes.

## Frequently asked questions

### What inheritance modes does this calculator support?

It supports complete dominance, incomplete dominance (blending), codominance (both alleles expressed), and X-linked (sex-linked) inheritance.

### How do I input genotypes for X-linked crosses?

Use X and Y notation with superscript alleles, such as XAXa for a carrier female and XAY for a male.

### Does the calculator show the sex of the offspring?

Yes, for X-linked crosses, the calculator automatically marks the sex (male or female) of each offspring cell in the grid.

### How should I format the alleles input?

Enter them as comma-separated values, listing the dominant allele first (for example, A,a or A,B).

### Can I display only the Punnett square grid without the ratios?

Yes, you can change the display options setting from 'Full' to 'Grid only' to hide the ratio tables.

## Related tools

- [Signal Flow Graph Mason Gain Rule Feedback Loop Solver](https://test.elysiatools.com/en/tools/signal-flow-graph-mason-gain-rule-feedback-loop-solver): Solve control-system signal flow graphs with Mason's gain formula: forward paths, loops, non-touching combinations, Δ/Δk determinants and the exact transfer function.
- [Ampère Force Calculator](https://test.elysiatools.com/en/tools/ampere-force-calculator): F = B·I·L·sinθ for a current-carrying wire, with unit selectors, the force magnitude, the 90° reference, and the right-hand-rule direction.
- [Coulomb Force Calculator](https://test.elysiatools.com/en/tools/coulomb-force-calculator): Coulomb's law F = k·|q₁q₂|/r² with signed charges and unit selectors, reporting the force magnitude and whether the pair attracts or repels.
- [Electric Potential Calculator](https://test.elysiatools.com/en/tools/electric-potential-calculator): V = k·Q/r with the sign preserved, plus the electron potential energy U = −e·V in eV — at the Bohr radius this reproduces 27.2114 V, twice hydrogen's ionization energy.
- [Faraday Induction EMF Calculator](https://test.elysiatools.com/en/tools/faraday-induction-emf): Faraday's law |ε| = N·ΔΦ/Δt with turns, flux, and time selectors, plus the Lenz's-law sign explained — one turn and one weber per second induce exactly one volt.
- [Malus's Law Polarization Calculator](https://test.elysiatools.com/en/tools/polarization-malus-law): I = I₀·cos²θ: transmitted intensity and percentage for any polarizer angle, with the 0°/45°/90° landmarks.
- [Raoult's Law Calculator](https://test.elysiatools.com/en/tools/raoult-law-calculator): p_i = x_i·p_i* for ideal solutions, with total pressure and vapour-phase composition for binary mixtures.
- [Relativistic Momentum Calculator](https://test.elysiatools.com/en/tools/relativistic-momentum): p = γmv with p·c in eV-scale units, the Lorentz factor, and the classical mv comparison for electron, proton, or custom mass.

## Samples

- [Android Image Processing Java Samples](https://test.elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://test.elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://test.elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://test.elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
