RATIONALE: During each beat, cardiac myocytes (CMs) generate the mechanical output necessary for heart function through contractile mechanisms that involve shortening of sarcomeres along myofibrils. Human-induced pluripotent stem cells (hiPSCs) can be differentiated into CMs (hiPSC-CMs) that model cardiac contractile mechanical output more robustly when micropatterned into physiological shapes. Quantifying the mechanical output of these cells enables us to assay cardiac activity in a dish. OBJECTIVE: We sought to develop a computational platform that integrates analytic approaches to quantify the mechanical output of single micropatterned hiPSC-CMs from microscopy videos. METHODS AND RESULTS: We micropatterned single hiPSC-CMs on deformable polyacrylamide substrates containing fluorescent microbeads. We acquired videos of single beating cells, of microbead displacement during contractions, and of fluorescently labeled myofibrils. These videos were independently analyzed to obtain parameters that capture the mechanical output of the imaged single cells. We also developed novel methods to quantify sarcomere length from videos of moving myofibrils and to analyze loss of synchronicity of beating in cells with contractile defects. We tested this computational platform by detecting variations in mechanical output induced by drugs and in cells expressing low levels of myosin-binding protein C. CONCLUSIONS: Our method can measure the cardiac function of single micropatterned hiPSC-CMs and determine contractile parameters that can be used to elucidate mechanisms that underlie variations in CM function. This platform will be amenable to future studies of the effects of mutations and drugs on cardiac function.