Normally weight fractions of components are specified (weighing the respective powder at mixing). But if you have an unknown piece of ceramic, you have to determine the volume fractions of the components in a cross section (microscopy image editing with special computer program). If the densities of the components are known, you can calculate the mass fractions from volume fractions.
Those interested at this discussion may possibly want to check the following RG discussions: https://www.researchgate.net/post/I_have_a_composite_materials_with_the_composition_of_AxByCz_How_can_I_calculate_density_of_the_composite https://www.researchgate.net/post/composites_may_consists_of_three_different_constituent_like_Epoxy_carbon_and_glass_fiberhow_i_can_calculate_volume_and_mas_fraction_from_density https://www.researchgate.net/post/How_might_I_determine_glass_fiber_content_in_composite