Why does Obama consider himself to be black when his mother is white and so were his grandparents?

This has always bothered me about Obama. He is bi-racial not just black!
Why does Obama consider himself to be black when his mother is white and so were his grandparents?
Post Opinion