The ages of consent for sexual activity vary by country and jurisdiction.
In Europe; Spain has the lowest age of consent with age of 13. Malta and Turkey are at the highest end with the age 18.
Surprisingly, or not surprisingly at all; the national age of consent in Japan is 13.
In Indonesia the national age of consent for heterosexual sexual activity is 19 years for males and 16 years for females. Ironically, the age of consent for homosexuals is 18.
In Iran, sex outside marriage, regardless of age, is illegal. The minimum age of marriage in Iran is 18 for men and 16 for women. However, ways around these regulations include temporary marriages called Nikah mut‘ah; a fixed-term marriage in Shi’a Islam. The duration of this type of marriage is fixed at its inception and is then automatically dissolved upon completion of its term. The marriage is contractual.
The age of consent in Angola is 12 which makes it the lowest recorded legal age of consent in the world. Bolivia however, has no specified age of consent; rather it is defined as puberty.
Tunisia has the highest age of consent; namely 20 years. Although, several Middle-Eastern states rule that sex can only take place in wedlock and any sexual activity outside the marriage is deemed a criminal offence.