The definition of percent in chemistry is always mass percent.  That is grams or kilograms (etc.) of the material referenced divided by total grams (kilograms, etc.) times 100%:


For percent of substance "A":