A blood pressure measuring apparatus for measuring a blood pressure of a subject using a cuff attached to the subject, comprising: a processor; and a memory configured to store instructions that is readable by the processor, wherein the blood pressure measuring apparatus is configured to, as the instructions are executed by the processor: acquire, via a pulse acquiring section, pulsation information of the subject that is to be used to determine the blood pressure, while increasing an inner pressure of the cuff; characterized by acquiring first-order differential values of the pulsation information; and detecting an inappropriate attachment state of the cuff on the basis of at least one of: a local minimal value of the first-order differential values; a first variation of the first-order differential values including the local minimal value in a unit time; a first relationship between a local maximal value and the local minimal value of the first-order differential values; and a second relationship between the first variation and a second variation of the first-order differential values including the local maximal value in a unit time. a processor; and a memory configured to store instructions that is readable by the processor, wherein the blood pressure measuring apparatus is configured to, as the instructions are executed by the processor: acquire, via a pulse acquiring section, pulsation information of the subject that is to be used to determine the blood pressure, while increasing an inner pressure of the cuff; characterized by acquiring first-order differential values of the pulsation information; and detecting an inappropriate attachment state of the cuff on the basis of at least one of: a local minimal value of the first-order differential values; a first variation of the first-order differential values including the local minimal value in a unit time; a first relationship between a local maximal value and the local minimal value of the first-order differential values; and a second relationship between the first variation and a second variation of the first-order differential values including the local maximal value in a unit time. acquire, via a pulse acquiring section, pulsation information of the subject that is to be used to determine the blood pressure, while increasing an inner pressure of the cuff; characterized by acquiring first-order differential values of the pulsation information; and detecting an inappropriate attachment state of the cuff on the basis of at least one of: a local minimal value of the first-order differential values; a first variation of the first-order differential values including the local minimal value in a unit time; a first relationship between a local maximal value and the local minimal value of the first-order differential values; and a second relationship between the first variation and a second variation of the first-order differential values including the local maximal value in a unit time. a local minimal value of the first-order differential values; a first variation of the first-order differential values including the local minimal value in a unit time; a first relationship between a local maximal value and the local minimal value of the first-order differential values; and a second relationship between the first variation and a second variation of the first-order differential values including the local maximal value in a unit time.