Literacy rate is defined as

a person who can read
a person who can write
the percentage of people who can read or write by the age of 5
the percentage of people who can read or write by the age of 15