Simple recursions are derived for calculating the weights in compact finite difference formulas for any order of derivative and to any order of accuracy on one-dimensional grids with arbitrary spacing. Tables are included for some special cases (of equispaced grids).