In this paper we present the efficient design of functional thinfilm metamaterial devices with the effective surface conductivity approach.As an example, we demonstrate a graphene based perfect absorber.After formulating the requirements to the perfect absorber in terms of surface conductivity we investigate the properties of graphene wire medium and graphene fishnet metamaterials and demonstrate both narrowband and broadband tunable absorbers.