Wolfram Research

Function Repository Resource:

ShoeSizeToLength

Source Notebook

Determine the length of a shoe given its size within any of a variety of sizing systems

Contributed by: Paco Jain (Wolfram Research)

ResourceFunction["ShoeSizeToLength"]["system","wearer","measurement",s]

gives the length of a shoe sized s in the given system for the given wearer type and measurement type.

ResourceFunction["ShoeSizeToLength"]["system","wearer",s]

gives an association of wearer foot length and manufacturer last length for a shoe sized s in the given system for the given wearer type.

ResourceFunction["ShoeSizeToLength"]["Information"]

gives an association containing information about the various supported sizing systems.

Details and Options

Allowed values for "system" are: "Australia", "Europe", "Japan", "Korea", "Mondopoint", "UnitedKingdom" and "UnitedStates".
Allowed values for "wearer" are: "Child", "Female" and "Male".
Allowed values for "measurement" are: "FootLength" and "LastLength".
ResourceFunction["ShoeSizeToLength"] typically returns a Quantity object whose units are chosen base on "system". Different systems may return results with different units.
The "Australia" system does not define separate child’s sizes. ResourceFunction["ShoeSizeToLength"]["Australia", "Child", ] returns Missing["NotAvailable"].

Examples

Basic Examples

Find the wearer foot length appropriate for a shoe size in a given system:

In[1]:=
ResourceFunction[
 "ShoeSizeToLength"]["UnitedStates", "Male", "FootLength", 10]
Out[1]=

Find the manufacturer last length appropriate for a shoe size in a given system:

In[2]:=
ResourceFunction[
 "ShoeSizeToLength"]["Korea", "Female", "LastLength", 200]
Out[2]=

Omitting the "measurement" argument returns an association of both "LastLength" and "FootLength":

In[3]:=
ResourceFunction["ShoeSizeToLength"]["Australia", "Male", 8]
Out[3]=

Scope

Get information on the various sizing systems:

In[4]:=
ResourceFunction["ShoeSizeToLength"]["Information"]
Out[4]=

Applications

Find the manufacturer’s last length of a size 10 shoe in different systems:

In[5]:=
Dataset[AssociationMap[
  Function[
   system, AssociationMap[
    ResourceFunction["ShoeSizeToLength"][system, #, "LastLength", 10] &, {"Child", "Female", "Male"}]
   ],
  {"Australia", "Europe", "Japan", "Korea", "Mondopoint", "UnitedKingdom", "UnitedStates"}
  ]]
Out[5]=

Properties and Relations

In general, suitable foot length and manufacturer last length are different for a given shoe size:

In[6]:=
ResourceFunction["ShoeSizeToLength"]["UnitedStates", "Male", 12.5]
Out[6]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

See Also

License Information