Two diagnostic procedures with binary outcomes are usually compared by Cohen's kappa coefficient of agreement. If the results of the two procedures are completely identical on a sample and so kappa equals to 1, the precision of the estimate can not be computed with the usual formulae and statistical softwares. A formula for variance which is valid in this particular case is presented together with a real example.