Abstract In this paper, we study the thermodynamic correction due to the deformed Dirac equation in a homogeneous magnetic field. We study the deformation of both the massive and massless Dirac equation. The deformation will occur from generalized uncertainty principle, which occurs due to a minimal length. As the massless Dirac equation in (2+1) gives the behaviour of electrons in systems like sheet of graphene, this deformed Dirac equation will be used to analyze the thermal properties of graphene in a magnetic eld. Due to the existence of minimal length the degeneracy of systems gets modied, as there exist states which vanish when minimal length considerations are ignored. Thus, we will also analyze the implication of this additional degeneracy due to these states to the thermodynamics of the systems. In the case of graphene the minimal length or zero point length is the inter-atomic distance, which occurs by going beyond the linear regime of graphene.