how can we calculate potential energy if we don't have mass but we have force or newtons?

you have to have something besides force.