How is the unemployment rate calculated? What are the three conditions

How is the unemployment rate calculated? What are the three conditions someone needs to meet to be counted as unemployed? So, what are the problems in measuring the unemployment rate? In what ways does the official ABS measure of the unemployment rate understate, or overstate, the true degree of unemployment?