Answer:
the error could have been the fact that the unit for volume wasn't changed from cm³ to dm³
hence the calculation error
the solution to this would be first dividing the volume by 1000 to get that same amount in dm³ which is the standard unit to be used for volume-density calculations