Provided are an ultrasound diagnostic device and a medical-image diagnostic device with which needle length of a puncture needle can be easily and accurately measured. An ultrasound diagnostic device according to an embodiment of the present invention is provided with: an ultrasound probe for transmitting and receiving ultrasound to and from a subject; a positional-information acquisition unit which includes a reference-position member provided to the ultrasound probe, and sensors attached to sites having predetermined relative positions with respect to a puncture needle, and which acquires positional information related to the reference-position member and the sensors; a needle-length-information acquisition unit which acquires, from the relative positions and the positional information related to the reference-position member and the sensors when a tip of the puncture needle is brought into contact with the reference-position member, information related to the needle length of the puncture needle; and a display which displays, on the basis of the information related to the needle length, information for assisting puncturing using the puncture needle.L'invention concerne un dispositif de diagnostic par ultrasons et un dispositif de diagnostic par imagerie médicale avec lesquels la longueur d'aiguille d'une aiguille de perforation peut être facilement et précisément mesurée. Un dispositif de diagnostic par ultrasons selon un mode de réalisation de la présente invention comporte : une sonde à ultrasons pour transmettre et recevoir des ultrasons à et depuis un sujet ; une unité d'acquisition d'informations de position qui comprend un élément de position de référence fourni à la sonde à ultrasons, et des capteurs fixés aux sites ayant des positions relatives prédéterminées par rapport à une aiguille de perforation, et qui acquiert des informations de position concernant l'élément de position de référence et aux capteurs ; une unité d'acquisition d'informations sur la l