The invention discloses an electronic fitting device and a wardrobe containing the electronic fitting device. The electronic fitting device comprises a device body, an electronic balance, an ultrasonic wave sensor and a universal cantilever support, wherein the device body is provided with a display, the electronic balance is connected with the device body, and the ultrasonic wave sensor is connected with the upper portion of the device body through a bracket. The provided electronic fitting device and the wardrobe containing the electronic fitting device have the advantages that the structureis simple and reasonable, the electronic fitting device and the wardrobe are convenient when being installed and used, the electronic fitting device not only has a function of depicting a human bodybust-waist-hip model accurately, but also has a function of depicting clothes, jewelry, shoes and the like of a user more finely, and the finely depicted clothes, jewelry, shoes and the like of the user are placed on the human body bust-waist-hip model to enhance the reality sense; the provided wardrobe can help the user locate the position wherein target clothes are located accurately, thereby shortening the time of the user finding and matching the clothes, the individuation is strong, and the user experience is improved.