Y-Linked Inheritance Probability Calculator for Sons and Daughters
This Y-linked inheritance probability calculator shows how a trait located on the Y chromosome passes from a biological father to his children.
Run — free
Enter whether the father has the trait, and the calculator reports separate probabilities for biological sons and biological daughters. The result follows the defining rule of Y-linked inheritance: a father gives his Y chromosome to every son and gives an X chromosome, not a Y chromosome, to every daughter. The calculation is deterministic and intended for clear genetics exercises and inheritance explanations.
How Y-linked inheritance works
A Y-linked trait is associated with a gene or variant on the Y chromosome. In the usual human chromosomal model used for basic inheritance problems, a biological father has one X chromosome and one Y chromosome, while a biological mother has two X chromosomes. The father contributes either an X or a Y chromosome to a child. A child who receives the father's Y chromosome is a biological son in this model, and a child who receives the father's X chromosome is a biological daughter. Because the relevant trait is on the Y chromosome, it follows the Y whenever that chromosome is transmitted. An affected father therefore passes the Y-linked trait to all of his biological sons. He cannot pass that Y chromosome to a biological daughter, so the probability for daughters is zero. This calculator applies that direct transmission rule. It does not average sons and daughters together, because the sex-specific probabilities answer different inheritance questions and have different results.
How to read the calculated probabilities
Set `father_has_trait` to true when the biological father carries and expresses the Y-linked trait described by the problem. The calculator then returns a son inheritance probability of 1, equivalent to 100 percent, and a daughter inheritance probability of 0, equivalent to 0 percent. Set the field to false when the father does not have that Y-linked trait. In that case, neither sons nor daughters inherit the trait from him, so both reported probabilities are zero. The decimal probability fields are convenient for software and further calculations, while the percentage fields are easier to read in homework, counseling notes, or teaching material. These are conditional probabilities: the result for a son assumes the child is a biological son, and the result for a daughter assumes the child is a biological daughter. The calculator does not predict whether a future child will be a son or daughter, and it does not combine that separate event with inheritance.
Scope, assumptions, and responsible use
Use this calculator for traits that are genuinely Y-linked and for problems that explicitly use father-to-son Y-chromosome transmission. It is not a general Mendelian genetics calculator. X-linked, autosomal dominant, autosomal recessive, mitochondrial, sex-limited, and multifactorial traits follow different rules and require different inputs. The result also does not estimate whether a person has been correctly diagnosed, whether a variant is fully penetrant, or how strongly a trait will be expressed. Real genetic findings can involve mosaicism, structural chromosome differences, uncertain variant classification, incomplete clinical information, and other factors that a one-rule educational calculator cannot represent. For a classroom pedigree, the output provides a quick check of the expected father-to-son pattern. For personal health or reproductive decisions, treat it as an explanation of the simplified inheritance model rather than medical advice, and discuss laboratory findings and family history with a qualified genetics professional who can evaluate the specific evidence.
What you can do with it
Check a genetics exercise
Verify the sex-specific probabilities in a pedigree question involving a clearly identified Y-linked trait.
Explain father-to-son transmission
Show why an affected father transmits a Y-linked trait to every biological son but no biological daughter.
Build consistent educational examples
Generate decimal and percentage results for lessons, worksheets, or software that teaches basic inheritance patterns.
FAQ
What does the calculator cost?
An API request costs $0.002. The same deterministic calculation can also run in the browser.
Why do all sons inherit the trait from an affected father?
In the simplified chromosomal model, every biological son receives the father's Y chromosome, which carries the Y-linked trait.
Can a biological daughter inherit this Y-linked trait from her father?
No. A biological daughter receives the father's X chromosome rather than his Y chromosome, so the reported probability is zero.
Does the mother's trait status affect this calculation?
No. The calculator models a strictly Y-linked trait, and a mother does not contribute a Y chromosome in this inheritance model.
Does 100 percent mean every child will have the trait?
No. It means every biological son of an affected father inherits it under this model. Biological daughters do not.
Can I use this result for medical decisions?
Use it as an educational inheritance calculation. A genetics professional should interpret personal test results, diagnoses, and reproductive risk.
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/bio/y-linked-inheritance \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"father_has_trait":true}'const res = await fetch("https://api.kit.forhosting.com/bio/y-linked-inheritance", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"father_has_trait": true
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/bio/y-linked-inheritance",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"father_has_trait": true
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/bio/y-linked-inheritance", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"father_has_trait":true}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"father_has_trait":true}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/bio/y-linked-inheritance", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"father_has_trait": true
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "bio.y_linked_inheritance",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |