As per my understanding it is (basic+house rent )/30 X21, usually the leave is for 3 weeks, but I am not sure whether it depends on the organisation. Check what is the policy in ur company. May be they pay based on basic only.