We give an analytic treatment of the time resolution and efficiency of Single Photon Avalanche Diodes (SPADs) and Silicon Photomultipliers (SiPMs). We provide closed-form expressions for structures with uniform electric fields and efficient numerical prescriptions for arbitrary electric field configurations. We discuss the sensor performance for single photon detection and also for charged particle detection.