The unemployment rate is the number of unemployed people as a percentage of the civilian labor force, which is the total number of employed and unemployed people in the civilian non-institutional population (the number of people aged 16 and older who are not incarcerated or on active duty in the military).
According to the Bureau of Labor Statistics (BLS), "the concepts and definitions underlying LAUS data come from the Current Population Survey (CPS), the household survey that is the source of the national unemployment rate. State monthly model-based estimates are controlled in "real time" to sum to national monthly employment and unemployment estimates from the CPS. These models combine current and historical data from the CPS, the Current Employment Statistics (CES) survey, and state unemployment insurance (UI) systems."
Source: The city unemployment rate comes from Local Area Unemployment Statistics -- State(s) where area(s) located or Census regions and divisions
Source: The state unemployment rate comes from the States: Employment status of the civilian noninstitutional population by sex, race, Hispanic or Latino ethnicity, and detailed age, annual averages(p).