How many grams of 30ml cat food is equal to depends on the density of cat food. Different brands and types of cat food have different densities, so their weight will be different. Generally speaking, the density of dry cat food is higher than that of wet cat food, so the weight of dry cat food will be larger under the same volume.
If the density of cat food is known, its weight can be calculated with the density formula: density=mass/volume, that is, mass=density * volume. For example, if the density of a certain cat food is known to be 0.8 g/ml, the weight of 30 ml cat food is 0.8 * 30=24 g.
If you don't know the density of cat food, you can check the nutrition composition table on the package of cat food, which generally indicates the weight and calories of every 100 grams of cat food. According to this information, you can calculate the weight of 30 milliliters of cat food. For example, if the nutrition composition table indicates that the weight of every 100 grams of cat food is 50 grams, then the weight of 30 milliliters of cat food is 50 * 0.3=15 grams.