how to know grade of concrete like m25,m40

how to know grade of concrete like m25,m40