Under federal and state law, possession with the intent to sell is measured by the amount of a controlled substance that a person has in his or her possession. Ordinarily if the amount is above a certainb amount of grams o the controlled substance one is charged with possession with intent to sell as opposed to illegal possession of the controlled substance.