There are two types of genes that determine your blood type: they are ABO and Rh.
ABO has three types of alleles: A, B and O. Rh has two types of alleles: + and -.
Here is a denotation mapping for ABO:
AA => A
AO => A
AB => AB
BB => B
BO => B
OO => O
Here is a denotation mapping for Rh:
++ => +
+- => +
-- => -
So for example, your blood type will be called A+ if you have AA or AO alleles of ABO gene and ++ or +- alleles of Rh gene.
Chances of you ending up with a certain type of blood is dependent on allele combination that you inherit from your mom and dad both. For example if your mom carries A+ A+ A+ A+ and your father carries B- B- B- B- then your odds are calculated by the technique which follows: Remove the duplicate alleles. That leaves us with A+ and B-. Since AB maps to AB and +- maps to +. We end up with 100% chance of AB+.
Let us take another example. Let us say your father carries A+ B- A+ B- and your mother carries B+ A- B+ A- alleles. Let us remove the duplicates and go to the Punnett square to calculate the odds.
A+ B+ | A+ A-
B+ B- | A- B-
So you have 25% of chance of being one of these: AB+, A+, B+ and AB-. Further more you cannot be of any other blood type but those four.
ABO has three types of alleles: A, B and O. Rh has two types of alleles: + and -.
Here is a denotation mapping for ABO:
AA => A
AO => A
AB => AB
BB => B
BO => B
OO => O
Here is a denotation mapping for Rh:
++ => +
+- => +
-- => -
So for example, your blood type will be called A+ if you have AA or AO alleles of ABO gene and ++ or +- alleles of Rh gene.
Chances of you ending up with a certain type of blood is dependent on allele combination that you inherit from your mom and dad both. For example if your mom carries A+ A+ A+ A+ and your father carries B- B- B- B- then your odds are calculated by the technique which follows: Remove the duplicate alleles. That leaves us with A+ and B-. Since AB maps to AB and +- maps to +. We end up with 100% chance of AB+.
Let us take another example. Let us say your father carries A+ B- A+ B- and your mother carries B+ A- B+ A- alleles. Let us remove the duplicates and go to the Punnett square to calculate the odds.
A+ B+ | A+ A-
B+ B- | A- B-
So you have 25% of chance of being one of these: AB+, A+, B+ and AB-. Further more you cannot be of any other blood type but those four.