Dog Year Calculator | Virtual Species

Dog Year Calculator

Different breeds of dog age at varying speeds. Dogs age at varying speeds at different stages of their lives. "Small dogs reach skeletal and reproductive maturity sooner than larger breeds. Once they've achieved those measures of adulthood they carry on to live longer,​" says Dr. Kate Creevy, assistant professor of internal medicine at the University of Georgia. It's often said that the age of dogs can be better understood by multiplying their age, in human years, by 7. That is not very accurate since dogs reach adulthood within the first couple of years. The general calculator below is a bit more accurate. The formula has used 10.5 dog years per human year for the first 2 years, then 4 dog years per human year for each year after.

Akita on virtualspecies.com
Enter your/your dog's age in years:
If you are a human, your age in dog years:
If you are a dog, your age in human years:

Below is the little script that is used to calculate the result_
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function HumanDogYears(form) {
    var HumanYears = form.inYears.value;
    if (HumanYears >= 21) {
        dy = (HumanYears - 21) / 4 + 2;
    else {
        dy = HumanYears / 10.5;
    }
    var hdy = 0;
    if (HumanYears >= 2) {
        hdy = 21 + ((HumanYears - 2) * 4);
    else {
        hdy = HumanYears * 10.5;
    }
    form.DogYears.value = Math.round(dy * 100) / 100;
    form.HumanYears.value = Math.round(hdy * 100) / 100;
}

No comments:

Post a Comment