Get the level of the category in magento

$category = Mage::getModel('catalog/category')->load(category_id);
echo $category->getLevel();

Note:- put the category id in the load function.