Americans’ views toward those who identify as lesbian, gay, bisexual or transgender (LGBT) have changed substantially in recent years, and a majority of U.S. adults now say homosexuality should be accepted by society. The legal landscape for LGBT people has also shifted, including through a Supreme Court decision two years ago this month that legalized same-sex marriage nationwide.

Here are five key findings about LGBT Americans:

1 Americans are becoming more accepting in their views of LGBT people and homosexuality in general, and the number of people identifying as LGBT has grown in recent years. For example, 63% of Americans said in 2016 that homosexuality should be accepted by society, compared with 51% in 2006. LGBT adults recognize the change in attitudes: About nine-in-ten (92%) said in a 2013 Pew Research Center survey of adults identifying as LGBT that society had become more accepting of them in the previous decade.

Perhaps as a result of this growing acceptance, the number of people who identify as LGBT in surveys is also rising. About 10 million people, or 4.1% of the U.S. adult population, identified as LGBT in 2016, according to the latest estimates from Gallup. This represents a modest but significant increase from 8.3 million people (3.5% of adults) who said they were LGBT in 2012.

Survey researchers face a number of challenges in measuring LGBT identity, and there is no consensus about how best to measure sexual orientation. Some rely on respondents self-identifying as LGBT (the technique used in surveys such as the Gallup and Pew Research Center polls), while others base their estimates on reports of sexual behavior or sexual attraction, which usually result in higher estimates. Other challenges include the stigmatization of identifying as LGBT in some cultures and respondents being unfamiliar with the terms used.

2Bisexuals make up the largest share of LGBT Americans. An analysis by UCLA’s Williams Institute in 2011 found that bisexuals accounted for about 1.8% of the total U.S. adult population at the time. A slightly smaller share (1.7%) were gay or lesbian. And the latest Williams Institute estimates, from 2016, find that 0.6% of U.S. adults, or 1.4 million people, identify as transgender.

In Pew Research Center’s 2013 survey of LGBT Americans, 40% of respondents said they were bisexual, while 36% identified as gay men, 19% as lesbians and 5% as transgender.

3Gay men and lesbians are more likely than bisexuals to be “out,” according to the 2013 Pew Research Center survey. Overall, only 28% of bisexuals say that all or most of the important people in their lives are aware that they are LGBT. Meanwhile, 77% of gay men and 71% of lesbians say the same. Bisexual women are much more likely than bisexual men to say most of their friends and family know about their sexuality.

The overwhelming majority of bisexuals who are married or in a committed relationship have an opposite-sex partner, which may contribute to the fact that bisexuals are less likely to be “out” than other LGBT Americans.

4Most LGBT Americans say they have never lived somewhere that is known as an LGBT neighborhood. According to the 2013 survey, 72% say they have never lived in one of these neighborhoods, while 14% say they have lived in one in the past and 12% say they currently do. While 56% say it is important to maintain places like LGBT neighborhoods and bars, 41% say these venues will become less important over time as LGBT people are more accepted into society. Gay men are the most likely of any of the LGBT subgroups to say that these distinctive venues should be maintained (68%).

5 There are demographic differences in who identifies as LGBT. The most notable is by age. Young adults, ages 18 to 36, are by far the most likely to identify as LGBT (7.3%). By contrast, much smaller shares of those ages 37 to 51 (3.2%), 52 to 70 (2.4%) and 71 and older (1.4%) say they are LGBT, according to Gallup.

Some 4.4% of women and 3.7% of men identify as LGBT. Whites are somewhat less likely (3.6%) than blacks (4.6%), Hispanics (5.4%) and Asians (4.9%) to say they are LGBT.

There are some modest differences by household income as well, with those making less than $36,000 annually more likely to say they are LGBT (5.5%) than those with higher incomes. These differences may be driven in part by age. There are virtually no differences by education level.

Note: Read more about Pew Research Center research on the LGBT population.