A method of coating a stent involves modifying a spray coating parameter until a target mass per coating layer is achieved. A method for coating involves spraying a batch of stents according to spraying parameters that were previously determined to provide a target mass per coating layer.